Author: nextgens
Date: 2008-09-29 18:32:28 +0000 (Mon, 29 Sep 2008)
New Revision: 22884
Modified:
trunk/freenet/src/freenet/support/compress/Bzip2Compressor.java
trunk/freenet/src/freenet/support/compress/GzipCompressor.java
Log:
Doh: java5, not java6!
Modified: trunk/freenet/src/freenet/support/compress/Bzip2Compressor.java
===================================================================
--- trunk/freenet/src/freenet/support/compress/Bzip2Compressor.java
2008-09-29 18:14:20 UTC (rev 22883)
+++ trunk/freenet/src/freenet/support/compress/Bzip2Compressor.java
2008-09-29 18:32:28 UTC (rev 22884)
@@ -17,7 +17,6 @@
public class Bzip2Compressor implements Compressor {
- @Override
public Bucket compress(Bucket data, BucketFactory bf, long maxLength)
throws IOException, CompressionOutputSizeException {
if(maxLength <= 0)
throw new IllegalArgumentException();
@@ -54,7 +53,6 @@
return output;
}
- @Override
public Bucket decompress(Bucket data, BucketFactory bf, long maxLength,
long maxCheckSizeLength, Bucket preferred) throws IOException,
CompressionOutputSizeException {
Bucket output;
if(preferred != null)
@@ -100,7 +98,6 @@
}
}
- @Override
public int decompress(byte[] dbuf, int i, int j, byte[] output) throws
CompressionOutputSizeException {
// Didn't work with Inflater.
// FIXME fix sometimes to use Inflater - format issue?
Modified: trunk/freenet/src/freenet/support/compress/GzipCompressor.java
===================================================================
--- trunk/freenet/src/freenet/support/compress/GzipCompressor.java
2008-09-29 18:14:20 UTC (rev 22883)
+++ trunk/freenet/src/freenet/support/compress/GzipCompressor.java
2008-09-29 18:32:28 UTC (rev 22884)
@@ -14,7 +14,6 @@
public class GzipCompressor implements Compressor {
- @Override
public Bucket compress(Bucket data, BucketFactory bf, long maxLength)
throws IOException, CompressionOutputSizeException {
if(maxLength <= 0)
throw new IllegalArgumentException();
@@ -50,7 +49,6 @@
return output;
}
- @Override
public Bucket decompress(Bucket data, BucketFactory bf, long maxLength,
long maxCheckSizeLength, Bucket preferred) throws IOException,
CompressionOutputSizeException {
Bucket output;
if(preferred != null)
@@ -96,7 +94,6 @@
}
}
- @Override
public int decompress(byte[] dbuf, int i, int j, byte[] output) throws
CompressionOutputSizeException {
// Didn't work with Inflater.
// FIXME fix sometimes to use Inflater - format issue?