we don't check for XZ or Brotli in the outputstream case either
@@ -690,9 +690,6 @@ public CompressorOutputStream createCompressorOutputStream(final String name, fi
}
if (ZSTANDARD.equalsIgnoreCase(name)) {
- if (!ZstdUtils.isZstdCompressionAvailable()) {
- throw new CompressorException("Zstandard compression is not available.");
- }
return new ZstdCompressorOutputStream(out);
}
} catch (final IOException e) {
