You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/06/07 22:10:28 UTC

[commons-lang] branch master updated: Use final

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 932b1ae52 Use final
     new a123c892e Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
932b1ae52 is described below

commit 932b1ae52c5229d53606e56becf0790fb9e25d78
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 5 10:01:25 2022 -0400

    Use final
---
 src/main/java/org/apache/commons/lang3/Conversion.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/lang3/Conversion.java b/src/main/java/org/apache/commons/lang3/Conversion.java
index 47b1a5799..d58771427 100644
--- a/src/main/java/org/apache/commons/lang3/Conversion.java
+++ b/src/main/java/org/apache/commons/lang3/Conversion.java
@@ -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