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

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

commit 5d2aa430ee0e1b6b9b7d5b5032f4b2563effdf3c
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jul 14 13:24:36 2026 -0400

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

diff --git a/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java 
b/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
index b3f25137c..77bea1d8a 100644
--- a/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
+++ b/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
@@ -46,7 +46,7 @@ public class ArchiveUtils {
      * @throws MemoryLimitException If the length is valid, but too large for 
the current JVM to handle.
      * @since 1.29.0
      */
-    public static int checkEntryNameLength(long length, int 
maxEntryNameLength, String archiveType)
+    public static int checkEntryNameLength(final long length, final int 
maxEntryNameLength, final String archiveType)
             throws ArchiveException, MemoryLimitException {
         if (length > maxEntryNameLength) {
             throw new ArchiveException("Invalid %s archive entry: Invalid file 
name length %,d (must be between 1 and %,d). If the file is not corrupt, " +

Reply via email to