Fix abusive assertion.
This commit is contained in:
parent
eaf35c4e4a
commit
b4ec9044ed
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue