remove zip best speed

This commit is contained in:
PhilReact 2025-05-14 20:21:13 +03:00
parent 8c811ef1ef
commit 5780a6de7d

View File

@ -48,9 +48,7 @@ public class ZipUtils {
FileOutputStream fileOutputStream = new FileOutputStream(destFilePath);
// 🔧 Use best speed compression level
ZipOutputStream zipOutputStream = new ZipOutputStream(fileOutputStream);
zipOutputStream.setLevel(java.util.zip.Deflater.BEST_SPEED);
ZipOutputStream zipOutputStream = new ZipOutputStream(fileOutputStream);
ZipUtils.zip(sourceFile, enclosingFolderName, zipOutputStream, isSingleFile);
zipOutputStream.close();