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/07/03 15:05:55 UTC

(commons-compress) 03/04: Remove redundant keyword

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 b5df763c93084482e3cf86e78f24eb1b6c92bbed
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Jul 3 10:50:46 2024 -0400

    Remove redundant keyword
---
 .../apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java
index bf16427ed..b0528a252 100644
--- a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveOutputStream.java
@@ -185,7 +185,7 @@ public class CpioArchiveOutputStream extends ArchiveOutputStream<CpioArchiveEntr
         } finally {
             if (!this.closed) {
                 out.close();
-                this.closed = true;
+                closed = true;
             }
         }
     }