enable unsafe optimization in lzf for 0.19

This commit is contained in:
Shay Banon 2011-11-24 20:12:51 +02:00
parent 03c2e5ea52
commit ac2c2fb48d
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ public class ChunkDecoderFactory {
if (impl == null) {
impl = VanillaChunkDecoder.class;
}
// ES: Because of this: https://github.com/ning/compress/issues/13, disable the optimized by default
if (!Booleans.parseBoolean(System.getProperty("compress.lzf.decoder.optimized"), false)) {
// ES: Seems like: https://github.com/ning/compress/issues/13, is fixed, so enable by defualt, but only from 0.19
if (!Booleans.parseBoolean(System.getProperty("compress.lzf.decoder.optimized"), true)) {
impl = VanillaChunkDecoder.class;
}
_instance = new ChunkDecoderFactory(impl);