Use final

This commit is contained in:
Gary Gregory 2022-06-05 10:01:25 -04:00
parent 4f08422f77
commit 932b1ae52c
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ public class Conversion {
* @throws NullPointerException if {@code src} is {@code null}
* @throws IndexOutOfBoundsException if {@code srcPos} is outside the array.
*/
public static char binaryBeMsb0ToHexDigit(boolean[] src, int srcPos) {
public static char binaryBeMsb0ToHexDigit(final boolean[] src, final int srcPos) {
// JDK 9: Objects.checkIndex(int index, int length)
if (Integer.compareUnsigned(srcPos, src.length) >= 0) {
// Throw the correct exception