Permalink
Browse files

Bugfix: fix default parameter value.

  • Loading branch information...
1 parent 45e33bf commit 0ae23575623cb607aeed0ab4a7f7e26df331dc15 Travis Crawford committed May 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java/com/hadoop/compression/lzo/LzoCompressor.java
@@ -216,7 +216,7 @@ public void reinit(Configuration conf) {
* @param directBufferSize size of the direct buffer to be used.
*/
public LzoCompressor(CompressionStrategy strategy, int directBufferSize) {
- init(strategy, LzoCodec.DEFAULT_LZO_BUFFER_SIZE, directBufferSize);
+ init(strategy, LzoCodec.UNDEFINED_COMPRESSION_LEVEL, directBufferSize);
}
/**

0 comments on commit 0ae2357

Please sign in to comment.