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 2024/06/04 13:28:33 UTC

(commons-compress) 02/26: Better local variable name (PMD)

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-compress.git

commit 9261a3fb51e792236b2b5c51bcf85fcf35f9dde6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jun 4 07:58:51 2024 -0400

    Better local variable name (PMD)
---
 .../java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
index d860c242f..b3f577996 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
+++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
@@ -1681,7 +1681,7 @@ public class TarArchiveEntry implements ArchiveEntry, TarConstants, EntryStreamO
                 this.groupId = ((Number) Files.getAttribute(file, "unix:gid", options)).longValue();
                 try {
                     setStatusChangeTime((FileTime) Files.getAttribute(file, "unix:ctime", options));
-                } catch (final IllegalArgumentException ex) { // NOSONAR
+                } catch (final IllegalArgumentException ignored) {
                     // ctime is not supported
                 }
             }