[trunk] EssentialsUpgrade: rename backup to .upgradebackup

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1232 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-04-16 16:49:56 +00:00
parent dc663472c2
commit 307ecced06

View File

@ -67,7 +67,7 @@ public class EssentialsUpgrade {
br.close(); br.close();
bw.close(); bw.close();
if (needUpdate) { if (needUpdate) {
file.renameTo(new File(file.getParentFile(), file.getName().concat("."+System.currentTimeMillis()+".upgraded"))); file.renameTo(new File(file.getParentFile(), file.getName().concat("."+System.currentTimeMillis()+".upgradebackup")));
tempFile.renameTo(file); tempFile.renameTo(file);
} }
} }