litesoft
Diff Revisions
319
vs
320
for /trunk/Java/ScarPlus/src/com/esotericsoftware/scar/Scar.java
|
@@ -676,7 +676,7 @@ |
676 |
676 |
|
} |
677 |
677 |
|
try |
678 |
678 |
|
{ |
679 |
|
- |
copyStream( input, new GZIPOutputStream( new FileOutputStream( gzipFile ) ) ); |
|
679 |
+ |
copyStreamAndCloseEm( input, new GZIPOutputStream( new FileOutputStream( gzipFile ) ) ); |
680 |
680 |
|
} |
681 |
681 |
|
catch ( IOException e ) |
682 |
682 |
|
{ |
|
@@ -730,7 +730,7 @@ |
730 |
730 |
|
} |
731 |
731 |
|
try |
732 |
732 |
|
{ |
733 |
|
- |
copyStream( input, new FileOutputStream( file ) ); |
|
733 |
+ |
copyStreamAndCloseEm( input, new FileOutputStream( file ) ); |
734 |
734 |
|
} |
735 |
735 |
|
catch ( FileNotFoundException e ) |
736 |
736 |
|
{ |