final String msg = s_stringMgr.getString("GlobalPreferencesSheet.error.loading", pnl.getTitle()); s_log.error(msg, th); _app.showErrorDialog(msg, th);
final String msg = s_stringMgr.getString("GlobalPreferencesSheet.error.saving", pnl.getTitle()); s_log.error(msg, th); _app.showErrorDialog(msg, th);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/preferences/GlobalPreferencesSheet.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/preferences/GlobalPreferencesSheet.java
Method name: void GlobalPreferencesSheet(IApplication) Method name: void performOk()
Number of AST nodes: 3 Number of AST nodes: 3
1
final String msg = s_stringMgr.getString("GlobalPreferencesSheet.error.loading", pnl.getTitle());
1
final String msg = s_stringMgr.getString("GlobalPreferencesSheet.error.saving", pnl.getTitle());
2
            s_log.error(msg, th);
2
					s_log.error(msg, th);
3
            _app.showErrorDialog(msg, th);
3
					_app.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 declared in the same class
Number of node comparisons0