File tree Expand file tree Collapse file tree
src/main/java/com/xwintop/xJavaFxTool/controller/developTools/xTransferTool Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ private void initEvent() {
158158 });
159159 MenuItem menu_FoldAll = new MenuItem ("折叠所有" );
160160 menu_FoldAll .setOnAction (event1 -> {
161- // configurationTreeView.getRoot().setExpanded(false);
162161 configurationTreeView .getRoot ().getChildren ().forEach (stringTreeItem -> {
163162 stringTreeItem .setExpanded (false );
164163 });
@@ -298,7 +297,6 @@ private void initEvent() {
298297 String taskConfigString = ClipboardUtil .getStr ();
299298 try {
300299 TaskConfig taskConfig = new Yaml ().load (taskConfigString );
301- // String taskConfigName = taskConfig.getName() + "_copy";
302300 String taskConfigName = StringUtils .appendIfMissing (taskConfig .getName (), "_copy" , "_copy" );
303301 while (transferToolService .getTaskConfigFileMap ().get (selectedItem .getValue ()).containsKey (taskConfigName )) {
304302 String [] copyName = taskConfigName .split ("_copy" );
You can’t perform that action at this time.
0 commit comments