|
|
@@ -631,8 +631,12 @@ public class Replace extends MatchingTask { |
|
|
+ ioe.getClass().getName() + ":" |
|
|
+ ioe.getClass().getName() + ":" |
|
|
+ ioe.getMessage(), ioe, getLocation()); |
|
|
+ ioe.getMessage(), ioe, getLocation()); |
|
|
} finally { |
|
|
} finally { |
|
|
in.closeQuietly(); |
|
|
|
|
|
out.closeQuietly(); |
|
|
|
|
|
|
|
|
if (null != in) { |
|
|
|
|
|
in.closeQuietly(); |
|
|
|
|
|
} |
|
|
|
|
|
if (null != out) { |
|
|
|
|
|
out.closeQuietly(); |
|
|
|
|
|
} |
|
|
if (temp != null) { |
|
|
if (temp != null) { |
|
|
if (!temp.delete()) { |
|
|
if (!temp.delete()) { |
|
|
temp.deleteOnExit(); |
|
|
temp.deleteOnExit(); |
|
|
|