fixed missing parameter
Fixed not working example - Added missing zipParameters to .addFile() function
This commit is contained in:
parent
ddf531faa7
commit
f741713458
|
@ -21,7 +21,7 @@ public class ZipSingleFile {
|
|||
if (!fileToAdd.exists()) {
|
||||
fileToAdd.createNewFile();
|
||||
}
|
||||
zipFile.addFile(fileToAdd);
|
||||
zipFile.addFile(fileToAdd, zipParameters);
|
||||
zipFile.close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue