You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2011/11/09 17:05:12 UTC
svn commit: r1199814 -
/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java
Author: bodewig
Date: Wed Nov 9 16:05:11 2011
New Revision: 1199814
URL: http://svn.apache.org/viewvc?rev=1199814&view=rev
Log:
some '@Override's that have been removed by accident
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=1199814&r1=1199813&r2=1199814&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 Wed Nov 9 16:05:11 2011
@@ -198,6 +198,7 @@ public class GzipCompressorInputStream e
}
/** {@inheritDoc} */
+ @Override
public int read() throws IOException {
byte[] buf = new byte[1];
return read(buf, 0, 1) == -1 ? -1 : (buf[0] & 0xFF);
@@ -208,6 +209,7 @@ public class GzipCompressorInputStream e
*
* @since Apache Commons Compress 1.1
*/
+ @Override
public int read(byte[] b, int off, int len) throws IOException {
if (endReached)
return -1;
@@ -319,6 +321,7 @@ public class GzipCompressorInputStream e
*
* @since 1.2
*/
+ @Override
public void close() throws IOException {
if (inf != null) {
inf.end();