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 ddf531faa7
commit f741713458
1 changed files with 1 additions and 1 deletions

View File

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