String msg = s_stringMgr.getString("AliasInternalFrame.error.errorclosingconn"); s_log.error(msg, th); _app.showErrorDialog(msg + ": " + th.toString());
String errorMsg = s_stringMgr.getString("AboutBoxDialog.error.creditsfile"); s_log.error(errorMsg, ex); buf.append(errorMsg + ": " + ex.toString());
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/AliasInternalFrame.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/AboutBoxDialog.java
Method name: void connected(ISQLConnection) Method name: String readCreditsHtml(IApplication)
Number of AST nodes: 3 Number of AST nodes: 3
1
String msg = 
1
String errorMsg =
2
s_stringMgr.getString("AliasInternalFrame.error.errorclosingconn");
2
								s_stringMgr.getString("AboutBoxDialog.error.creditsfile");
3
				s_log.error(msg, th);
3
					s_log.error(errorMsg, ex);
4
				_app.showErrorDialog(msg + ": " + th.toString());
4
					buf.append(errorMsg + ": " + ex.toString());
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