if (!(e instanceof FileNotFoundException))
{
logger.error("Problem loading replacementManager", e);
}
if (!(e instanceof FileNotFoundException))
{
logger.error("Problem loading bookmarkManager", e);
}
Clone fragments detected by clone detection tool
File path: /sql12/plugins/sqlreplace/src/net/sourceforge/squirrel_sql/plugins/sqlreplace/SQLReplacePlugin.java
|
|
File path: /sql12/plugins/sqlbookmark/src/net/sourceforge/squirrel_sql/plugins/sqlbookmark/SQLBookmarkPlugin.java
|
Method name: void initialize()
|
|
Method name: void initialize()
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | if (!(e instanceof FileNotFoundException))↵ | | 1 | if (!(e instanceof FileNotFoundException))↵
|
2 | {↵ | | |
|
3 | ↵ | | 2 | {↵
|
4 | logger.error("Problem loading replacementManager", e);↵ | | 3 | logger.error("Problem loading bookmarkManager", e);↵
|
5 | } | | 4 | }
|
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 |