Replace manual array copy#500
Conversation
Replace manual array copying with System.arraycopy().
Codecov Report
@@ Coverage Diff @@
## dev #500 +/- ##
===========================================
- Coverage 46.64% 46.6% -0.05%
+ Complexity 2218 2216 -2
===========================================
Files 108 108
Lines 25279 25276 -3
Branches 4167 4164 -3
===========================================
- Hits 11791 11779 -12
Misses 11463 11463
- Partials 2025 2034 +9
Continue to review full report at Codecov.
|
peterbae
left a comment
There was a problem hiding this comment.
I think the array loop provides better code readability, and approving this would mean we want to apply this change to other places in the code that uses arrays in this manner. I'm ok with leaving the manual array copy as it is.
|
@peterbae These changes were detected by FIndBugs as array copying that could be directly replaced by I'm not suggesting changing any of the others, but just these 3 simple instances. |
Replace manual array copying with System.arraycopy().