commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1552742 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
Date Fri, 20 Dec 2013 17:14:14 GMT
Author: ggregory
Date: Fri Dec 20 17:14:14 2013
New Revision: 1552742

URL: http://svn.apache.org/r1552742
Log:
Remove some unnecessary parentheses.

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java?rev=1552742&r1=1552741&r2=1552742&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
Fri Dec 20 17:14:14 2013
@@ -216,7 +216,7 @@ public class GzipCompressorInputStream e
 
     @Override
     public int read() throws IOException {
-        return read(oneByte, 0, 1) == -1 ? -1 : (oneByte[0] & 0xFF);
+        return read(oneByte, 0, 1) == -1 ? -1 : oneByte[0] & 0xFF;
     }
 
     /**



Mime
View raw message