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 477abdd0c Remove obsolete PMD comment
477abdd0c is described below

commit 477abdd0ccceec32157338cb54ebcbfb070ae59b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Jan 2 10:13:39 2025 -0500

    Remove obsolete PMD comment
---
 .../commons/compress/compressors/gzip/GzipCompressorInputStream.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
 
b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
index f03d82b56..efb0e24c6 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
@@ -181,7 +181,7 @@ public class GzipCompressorInputStream extends 
CompressorInputStream implements
     private static byte[] readToNull(final DataInput inData) throws 
IOException {
         try (ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
             int b;
-            while ((b = inData.readUnsignedByte()) != 0) { // NOPMD NOSONAR
+            while ((b = inData.readUnsignedByte()) != 0) { // NOSONAR
                 bos.write(b);
             }
             return bos.toByteArray();

Reply via email to