final String msg = "Error occured when talking to the web service"; s_log.error(msg, th); _app.showErrorDialog(msg, th);
final String msg = "Error occured when talking to the web service"; s_log.error(msg, th); _session.getApplication().showErrorDialog(msg, th);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/sqlval/src/net/sourceforge/squirrel_sql/plugins/sqlval/action/ValidateSQLAction.java File path: /sql12/plugins/sqlval/src/net/sourceforge/squirrel_sql/plugins/sqlval/LogonDialog.java
Method name: void execute() Method name: void performOk()
Number of AST nodes: 3 Number of AST nodes: 3
1
final String msg = "Error occured when talking to the web service";
1
final String msg = "Error occured when talking to the web service";
2
				s_log.error(msg, th);
2
			s_log.error(msg, th);
3
				_app.showErrorDialog(msg, th);
3
			_session.getApplication().showErrorDialog(msg, th);
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