try { getCommand(infos).execute(); } catch (Exception e) { _session.showErrorMessage(e); }
if (seperatorChar.getText().length() > 1) { try { seperatorChar.setText(seperatorChar.getText(0, 1)); } catch (Exception e) { /* Ignore that */ } }
Clone fragments detected by clone detection tool
File path: /sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AbstractRefactoringAction.java File path: /sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/importer/csv/CSVSettingsPanel.java
Method name: void actionPerformed(ActionEvent) Method name: void stateChanged()
Number of AST nodes: 2 Number of AST nodes: 3
1
try
2
				{
3
					getCommand(infos).execute(
1
if (seperatorChar.getText().length() > 1) {
2
			try {
4
);
3
				seperatorChar.setText(seperatorChar.getText(0, 1));
5
				} catch (Exception e)
4
			} catch (Exception e)
6
				{
7
					_session.showErrorMessage(e);
8
		
5
 { /* Ignore that */ }
9
		}
6
		}
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.1
Clones locationClones are in different classes
Number of node comparisons1