final String msg = s_stringMgr.getString("editextras.errorProcessingFormat", ex);
_session.showErrorMessage(msg);
s_log.error(msg, ex);
final String msg =
s_stringMgr.getString("DumpSessionAction.error", ex);
_session.showErrorMessage(msg);
s_log.error(msg, ex);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/editextras/src/net/sourceforge/squirrel_sql/plugins/editextras/FormatSQLAction.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/DumpSessionAction.java
|
Method name: void actionPerformed(ActionEvent)
|
|
Method name: void actionPerformed(ActionEvent)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | final String msg = ↵ | | 1 | final String msg = ↵
|
2 | s_stringMgr.getString("editextras.errorProcessingFormat", ex);↵ | | 2 | s_stringMgr.getString("DumpSessionAction.error", ex);↵
|
3 | _session.showErrorMessage(msg);↵ | | 3 | _session.showErrorMessage(msg);↵
|
4 | s_log.error(msg, ex); | | 4 | s_log.error(msg, ex);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 0 |