Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
Conversions.java
for (int i = 0; i < bytes.length; i += 1) { if (i < offset) { bytes[i] = fillByte; } else { bytes[i] = unscaled[i - offset]; } }
Improve readability with Arrays.fill method to fill the first offset bytes and then copy over the remaining.
Attachments
Issue Links
- links to