Browse Source

删除调试信息

bugfix/10.0
Hades 6 years ago
parent
commit
dbd31a94ed
  1. 6
      designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java

6
designer-base/src/main/java/com/fr/design/mainframe/DesignerFrameFileDealerPane.java

@ -186,7 +186,6 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt
* 刷新菜单 * 刷新菜单
*/ */
public void refreshDockingView() { public void refreshDockingView() {
long start = System.currentTimeMillis();
ToolBarDef toolbarDef = new ToolBarDef(); ToolBarDef toolbarDef = new ToolBarDef();
toolbarDef.addShortCut(newFolderAction, refreshTreeAction); toolbarDef.addShortCut(newFolderAction, refreshTreeAction);
if (WorkContext.getCurrent().isLocal()) { if (WorkContext.getCurrent().isLocal()) {
@ -199,12 +198,7 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt
} }
toolbarDef.updateToolBar(toolBar); toolbarDef.updateToolBar(toolBar);
resetActionStatus(); resetActionStatus();
long end = System.currentTimeMillis();
System.out.println("----------------------->refreshDockingView 菜单: " + (end - start));
long start1 = System.currentTimeMillis();
refresh(); refresh();
long end1 = System.currentTimeMillis();
System.out.println("-------------------------->菜单 refresh: " + (end1 - start1));
} }

Loading…
Cancel
Save