s_log.error("Error restoring current catalog", ex);
if (msgHandler == null)
{
throw ex;
}
msgHandler.showErrorMessage(ex, null);
s_log.error("Error restoring transaction isolation", ex);
if (msgHandler == null)
{
throw ex;
}
msgHandler.showErrorMessage(ex, null);
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLConnectionState.java
|
|
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLConnectionState.java
|
Method name: void restoreState(ISQLConnection, IMessageHandler)
|
|
Method name: void restoreState(ISQLConnection, IMessageHandler)
|
Number of AST nodes: 4
|
|
Number of AST nodes: 4
|
|
1 | s_log.error("Error restoring current catalog", ex);↵ | | 1 | s_log.error("Error restoring transaction isolation", ex);↵
|
2 | if (msgHandler == null)↵ | | 2 | if (msgHandler == null)↵
|
3 | {↵ | | 3 | {↵
|
4 | throw ex;↵ | | 4 | throw ex;↵
|
5 | }↵ | | 5 | }↵
|
6 | msgHandler.showErrorMessage(ex, null); | | 6 | msgHandler.showErrorMessage(ex, null);
|
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 |