Fix abusive assertion.

This commit is contained in:
Adrien Grand 2015-05-20 10:10:53 +02:00
parent eaf35c4e4a
commit b4ec9044ed
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public final class CompressedString {
} else { } else {
BytesArray bytesArray = data.toBytesArray(); BytesArray bytesArray = data.toBytesArray();
this.bytes = CompressorFactory.defaultCompressor().compress(bytesArray.array(), bytesArray.arrayOffset(), bytesArray.length()); this.bytes = CompressorFactory.defaultCompressor().compress(bytesArray.array(), bytesArray.arrayOffset(), bytesArray.length());
assert CompressorFactory.compressor(bytes) == CompressorFactory.defaultCompressor(); assert CompressorFactory.compressor(bytes) != null;
} }
} }