if (sbRows.length() > 0) { //_session.getSQLPanelAPI(_plugin).appendSQLScript(sbRows.toString(), true); FrameWorkAcessor.getSQLPanelAPI(_session, _plugin).appendSQLScript(sbRows.toString(), true); _session.selectMainTab(ISession.IMainPanelTabIndexes.SQL_TAB); } _abortController.setVisible(false);
if (sbRows.length() > 0) { FrameWorkAcessor.getSQLPanelAPI(_session, _plugin).appendSQLScript(sbRows.toString(), true); _session.selectMainTab(ISession.IMainPanelTabIndexes.SQL_TAB); } hideAbortFrame();
Clone fragments detected by clone detection tool
File path: /sql12/plugins/sqlscript/src/net/sourceforge/squirrel_sql/plugins/sqlscript/table_script/CreateDataScriptCommand.java File path: /sql12/plugins/sqlscript/src/net/sourceforge/squirrel_sql/plugins/sqlscript/table_script/CreateDataScriptOfCurrentSQLCommand.java
Method name: void run() Method name: void run()
Number of AST nodes: 4 Number of AST nodes: 4
1
if (sbRows.length() > 0)
1
if (sbRows.length() > 0)
2
                  {
2
                     {
3
                     //_session.getSQLPanelAPI(_plugin).appendSQLScript(sbRows.toString(), true);
3
   
4
                     FrameWorkAcessor.getSQLPanelAPI(_session, _plugin).appendSQLScript(sbRows.toString(), true);
4
                     FrameWorkAcessor.getSQLPanelAPI(_session, _plugin).appendSQLScript(sbRows.toString(), true);
5
                     _session.selectMainTab(ISession.IMainPanelTabIndexes.SQL_TAB);
5
                        _session.selectMainTab(ISession.IMainPanelTabIndexes.SQL_TAB);
6
                  }
6
                     }
7
                  _abortController.setVisible(false);
7
                     hideAbortFrame();
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons0