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 2023/01/16 13:44:03 UTC

[commons-compress] 01/02: Format tweak

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 af158789a24088dce5d89a6788fa72c9e3996c6f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 16 08:27:59 2023 -0500

    Format tweak
---
 .../commons/compress/compressors/gzip/GzipCompressorOutputStream.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
index 604398bb..e9d259dd 100644
--- a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
@@ -166,7 +166,7 @@ public class GzipCompressorOutputStream extends CompressorOutputStream {
 
     @Override
     public void write(final int b) throws IOException {
-        write(new byte[]{(byte) (b & 0xff)}, 0, 1);
+        write(new byte[] { (byte) (b & 0xff) }, 0, 1);
     }
 
     private void writeHeader(final GzipParameters parameters) throws IOException {