Browse Source

REPORT-72634 设计器卡顿优化一期

feature/x
John.Ying 2 years ago
parent
commit
4e6a5cb4f3
  1. 2
      designer-base/src/main/java/com/fr/design/carton/EventDispatchThreadHangMonitor.java

2
designer-base/src/main/java/com/fr/design/carton/EventDispatchThreadHangMonitor.java

@ -171,7 +171,7 @@ public final class EventDispatchThreadHangMonitor extends EventQueue {
int month = StringUtils.isEmpty(split[1]) ? -1 : Integer.parseInt(split[1]); int month = StringUtils.isEmpty(split[1]) ? -1 : Integer.parseInt(split[1]);
String dirPath = StableUtils.pathJoin(JOURNAL_FILE_PATH, split[0], "month-" + month, date); String dirPath = StableUtils.pathJoin(JOURNAL_FILE_PATH, split[0], "month-" + month, date);
File dirFile = new File(dirPath); File dirFile = new File(dirPath);
File file = new File( StableUtils.pathJoin(dirPath, File.separator, filename)); File file = new File( StableUtils.pathJoin(dirPath, filename));
try { try {
if (!file.exists()) { if (!file.exists()) {
if (!dirFile.exists()) { if (!dirFile.exists()) {

Loading…
Cancel
Save