customDialog = new AddAutoIncrementDialog(columnToModify); customDialog.addExecuteListener(new ExecuteListener()); customDialog.addEditSQLListener(new EditSQLListener(customDialog)); customDialog.addShowSQLListener(new ShowSQLListener(i18n.SHOWSQL_DIALOG_TITLE, customDialog)); customDialog.setLocationRelativeTo(_session.getApplication().getMainFrame()); customDialog.setVisible(true);
customDialog = new AddModifySequenceDialog(AddModifySequenceDialog.ADD_MODE); customDialog.addExecuteListener(new ExecuteListener()); customDialog.addEditSQLListener(new EditSQLListener(customDialog)); customDialog.addShowSQLListener(new ShowSQLListener(i18n.SHOWSQL_DIALOG_TITLE, customDialog)); customDialog.setLocationRelativeTo(_session.getApplication().getMainFrame()); customDialog.setVisible(true);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/AddAutoIncrementCommand.java File path: /sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/AddSequenceCommand.java
Method name: void run() Method name: void showCustomDialog()
Number of AST nodes: 6 Number of AST nodes: 6
1
customDialog = new AddAutoIncrementDialog(columnToModify);
1
customDialog = new AddModifySequenceDialog(AddModifySequenceDialog.ADD_MODE);
2
				customDialog.addExecuteListener(new ExecuteListener());
2
		customDialog.addExecuteListener(new ExecuteListener());
3
				customDialog.addEditSQLListener(new EditSQLListener(customDialog));
3
		customDialog.addEditSQLListener(new EditSQLListener(customDialog));
4
				customDialog.addShowSQLListener(new ShowSQLListener(i18n.SHOWSQL_DIALOG_TITLE, customDialog));
4
		customDialog.addShowSQLListener(new ShowSQLListener(i18n.SHOWSQL_DIALOG_TITLE, customDialog));
5
				customDialog.setLocationRelativeTo(_session.getApplication().getMainFrame());
5
		customDialog.setLocationRelativeTo(_session.getApplication().getMainFrame());
6
				customDialog.setVisible(true);
6
		customDialog.setVisible(true);
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