final String msg = "Error dumping table types";
showErrorMessage(msg);
showErrorMessage(th);
s_log.error(msg, th);
final String msg = "Error dumping general connection info";
showErrorMessage(msg);
showErrorMessage(th);
s_log.error(msg, th);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/DumpSessionCommand.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/DumpSessionCommand.java
|
Method name: void execute()
|
|
Method name: void execute()
|
Number of AST nodes: 4
|
|
Number of AST nodes: 4
|
|
1 | final String msg = "Error dumping table types";↵ | | 1 | final String msg = "Error dumping general connection info";↵
|
2 | showErrorMessage(msg);↵ | | 2 | showErrorMessage(msg);↵
|
3 | showErrorMessage(th);↵ | | 3 | showErrorMessage(th);↵
|
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 |