|
|
@ -110,8 +110,8 @@ public class RestartHelper { |
|
|
|
private static boolean deleteWhenDebug() { |
|
|
|
private static boolean deleteWhenDebug() { |
|
|
|
File ff = new File(RECORD_FILE); |
|
|
|
File ff = new File(RECORD_FILE); |
|
|
|
Properties properties = new Properties(); |
|
|
|
Properties properties = new Properties(); |
|
|
|
try { |
|
|
|
try (FileInputStream fis = new FileInputStream(ff)) { |
|
|
|
properties.load(new FileInputStream(ff)); |
|
|
|
properties.load(fis); |
|
|
|
} catch (IOException ignore) { |
|
|
|
} catch (IOException ignore) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
@ -163,7 +163,6 @@ public class RestartHelper { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 重启设计器并删除某些特定的文件 |
|
|
|
* 重启设计器并删除某些特定的文件 |
|
|
|
* |
|
|
|
* |
|
|
|