mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-19 10:51:23 +00:00
remove zip best speed
This commit is contained in:
parent
8c811ef1ef
commit
5780a6de7d
@ -48,9 +48,7 @@ public class ZipUtils {
|
|||||||
FileOutputStream fileOutputStream = new FileOutputStream(destFilePath);
|
FileOutputStream fileOutputStream = new FileOutputStream(destFilePath);
|
||||||
|
|
||||||
// 🔧 Use best speed compression level
|
// 🔧 Use best speed compression level
|
||||||
ZipOutputStream zipOutputStream = new ZipOutputStream(fileOutputStream);
|
ZipOutputStream zipOutputStream = new ZipOutputStream(fileOutputStream);
|
||||||
zipOutputStream.setLevel(java.util.zip.Deflater.BEST_SPEED);
|
|
||||||
|
|
||||||
ZipUtils.zip(sourceFile, enclosingFolderName, zipOutputStream, isSingleFile);
|
ZipUtils.zip(sourceFile, enclosingFolderName, zipOutputStream, isSingleFile);
|
||||||
|
|
||||||
zipOutputStream.close();
|
zipOutputStream.close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user