final String msg = s_stringMgr.getString("DumpApplicationCommand.error.sessiondump");
_msgHandler.showMessage(msg);
_msgHandler.showMessage(th, null);
s_log.error(msg, th);
final String msg = s_stringMgr.getString("DumpApplicationCommand.error.dumpingstatus");
_msgHandler.showMessage(msg);
_msgHandler.showMessage(th, null);
s_log.error(msg, th);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/DumpApplicationCommand.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/DumpApplicationCommand.java
|
Method name: void execute()
|
|
Method name: void execute()
|
Number of AST nodes: 4
|
|
Number of AST nodes: 4
|
|
1 | final String msg = s_stringMgr.getString("DumpApplicationCommand.error.sessiondump");↵ | | 1 | final String msg = s_stringMgr.getString("DumpApplicationCommand.error.dumpingstatus");↵
|
2 | _msgHandler.showMessage(msg);↵ | | 2 | _msgHandler.showMessage(msg);↵
|
3 | _msgHandler.showMessage(th, null);↵ | | 3 | _msgHandler.showMessage(th, null);↵
|
4 | s_log.error(msg, th); | | 4 | s_log.error(msg, th);
|
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 the same method |
Number of node comparisons | 0 |