Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

review comments : restore the old constructor for LzoOutputStream.

  • Loading branch information...
commit e8c4f2bf2bef2311e1252190fcbc16288ff13d6b 1 parent f011c24
@rangadi rangadi authored
View
2  src/java/com/hadoop/compression/lzo/LzopCodec.java
@@ -57,7 +57,7 @@ public CompressionOutputStream createIndexedOutputStream(OutputStream out,
@Override
public CompressionOutputStream createOutputStream(OutputStream out,
- Compressor compressor) throws IOException {
+ Compressor compressor) throws IOException {
return createIndexedOutputStream(out, null, compressor);
}
View
6 src/java/com/hadoop/compression/lzo/LzopOutputStream.java
@@ -76,6 +76,12 @@ protected static void writeLzopHeader(OutputStream out,
}
}
+ public LzopOutputStream(OutputStream out, Compressor compressor,
+ int bufferSize, LzoCompressor.CompressionStrategy strategy)
+ throws IOException {
+ this(out, null, compressor, bufferSize, strategy);
+ }
+
public LzopOutputStream(OutputStream out, DataOutputStream indexOut,
Compressor compressor, int bufferSize,
LzoCompressor.CompressionStrategy strategy)
Please sign in to comment.
Something went wrong with that request. Please try again.