Correct compression naming for deflate compression

This commit is contained in:
Lukas Rieger (Blue) 2023-07-13 12:27:34 +02:00
parent c851812f42
commit 5028161b66
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -40,7 +40,7 @@ public enum Compression {
NONE("none", "", out -> out, in -> in),
GZIP("gzip", ".gz", GZIPOutputStream::new, GZIPInputStream::new),
ZLIB("zlib", ".zlib", DeflaterOutputStream::new, DeflaterInputStream::new),
DEFLATE("deflate", ".deflate", DeflaterOutputStream::new, DeflaterInputStream::new),
ZSTD("zstd", ".zst", ZstdOutputStream::new, ZstdInputStream::new);
private final String typeId;