litesoft
Diff Revisions
315
vs
319
for /trunk/Java/ScarPlus/src/com/esotericsoftware/filesystem/ZipFactory.java
|
@@ -17,14 +17,7 @@ |
17 |
17 |
|
@Override |
18 |
18 |
|
public ZipOutputStream createZOS( String pFilePath, List<FilePath> pPaths ) |
19 |
19 |
|
{ |
20 |
|
- |
try |
21 |
|
- |
{ |
22 |
|
- |
return new ZipOutputStream( new BufferedOutputStream( new FileOutputStream( pFilePath ) ) ); |
23 |
|
- |
} |
24 |
|
- |
catch ( FileNotFoundException e ) |
25 |
|
- |
{ |
26 |
|
- |
throw new WrappedIOException( e ); |
27 |
|
- |
} |
|
20 |
+ |
return new ZipOutputStream( FileUtil.createBufferedFileOutputStream( pFilePath ) ); |
28 |
21 |
|
} |
29 |
22 |
|
|
30 |
23 |
|
@Override |