parent
df88235e04
commit
879015efd5
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ public class XmlObject {
|
||||||
|
|
||||||
File finalFile = new File(file);
|
File finalFile = new File(file);
|
||||||
|
|
||||||
|
if (finalFile.exists()) {
|
||||||
|
finalFile.delete();
|
||||||
|
}
|
||||||
tmpFile.renameTo(finalFile);
|
tmpFile.renameTo(finalFile);
|
||||||
core.getApplication().logEvent("wrote xml to " + finalFile.getAbsolutePath());
|
core.getApplication().logEvent("wrote xml to " + finalFile.getAbsolutePath());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue