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


The following commit(s) were added to refs/heads/master by this push:
     new 062c74db6 Better param name
062c74db6 is described below

commit 062c74db65d11fd4befeddfda8de8e53b7c50c20
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Feb 27 21:49:41 2024 -0500

    Better param name
---
 .../apache/commons/compress/archivers/tar/TarArchiveInputStream.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
 
b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
index 637d2e4b0..3e546398f 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
@@ -290,8 +290,8 @@ public class TarArchiveInputStream extends 
ArchiveInputStream<TarArchiveEntry> {
      * @return The implementation will return true if the {@link ArchiveEntry} 
is an instance of {@link TarArchiveEntry}
      */
     @Override
-    public boolean canReadEntryData(final ArchiveEntry ae) {
-        return ae instanceof TarArchiveEntry;
+    public boolean canReadEntryData(final ArchiveEntry archiveEntry) {
+        return archiveEntry instanceof TarArchiveEntry;
     }
 
     /**

Reply via email to