try
{
_viewer.show(_ds);
}
catch (Throwable th)
{
s_log.error("Error processing a DataSet", th);
}
try { runSQL(session, sql); } catch (Exception e) {}
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/DataSetScrollingPanel.java
|
|
File path: /sql12/test/external/net/sourceforge/squirrel_sql/fw/dialects/DialectExternalTest.java
|
Method name: void run()
|
|
Method name: void testAddForeignKeyConstraint(ISession)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | try↵ | | 1 | try↵
|
2 | {↵ | | |
|
3 | _viewer.show(_ds);↵ | | |
|
4 | }↵ | | |
|
5 | catch (Throwable th)↵ | | |
|
6 | {↵ | | |
|
7 | s_log.error("Error processing a DataSet", th);↵ | | |
|
8 | } | | 2 | { runSQL(session, sql); } catch (Exception e) {}
|
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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |