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 3325f4923 Simplify
new e06d2e37f Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-compress.git
3325f4923 is described below
commit 3325f49232c9451f6864a554ca050bc112442db8
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Feb 9 18:05:03 2024 -0500
Simplify
---
.../apache/commons/compress/utils/FixedLengthBlockOutputStream.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/main/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStream.java
b/src/main/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStream.java
index a9de3bf00..e48318cca 100644
---
a/src/main/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStream.java
+++
b/src/main/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStream.java
@@ -60,7 +60,7 @@ public class FixedLengthBlockOutputStream extends
OutputStream implements Writab
private static final class BufferAtATimeOutputChannel implements
WritableByteChannel {
private final OutputStream out;
- private final AtomicBoolean closed = new AtomicBoolean(false);
+ private final AtomicBoolean closed = new AtomicBoolean();
private BufferAtATimeOutputChannel(final OutputStream out) {
this.out = out;
@@ -108,7 +108,7 @@ public class FixedLengthBlockOutputStream extends
OutputStream implements Writab
private final int blockSize;
private final ByteBuffer buffer;
- private final AtomicBoolean closed = new AtomicBoolean(false);
+ private final AtomicBoolean closed = new AtomicBoolean();
/**
* Constructs a fixed length block output stream with given destination
stream and block size.