fixed missing parameter

Fixed not working example - Added missing zipParameters to .addFile() function
This commit is contained in:
janmadle
2021-11-12 09:16:13 +01:00
committed by GitHub
parent 41c8af76d2
commit d57b3a9ca6

View File

@@ -21,7 +21,7 @@ public class ZipSingleFile {
if (!fileToAdd.exists()) {
fileToAdd.createNewFile();
}
zipFile.addFile(fileToAdd);
zipFile.addFile(fileToAdd, zipParameters);
zipFile.close();
}
}