String msg = s_stringMgr.getString("PluginManager.error.loadlib", fn);
s_log.error(msg, ex);
_app.showErrorDialog(msg, ex);
String msg = s_stringMgr.getString("PluginManager.error.loadplugin", fileName);
s_log.error(msg, ex);
_app.showErrorDialog(msg, ex);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/plugin/PluginManager.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/plugin/PluginManager.java
|
Method name: void addPluginLibraries(File, List)
|
|
Method name: void checkPlugin(File, Map, List, boolean)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | String msg = s_stringMgr.getString("PluginManager.error.loadlib", fn);↵ | | 1 | String msg = s_stringMgr.getString("PluginManager.error.load↵
|
2 | ↵ | | 2 | plugin", fileName);↵
|
3 | s_log.error(msg, ex);↵ | | 3 | s_log.error(msg, ex);↵
|
4 | _app.showErrorDialog(msg, ex); | | 4 | _app.showErrorDialog(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 declared in the same class |
Number of node comparisons | 0 |