if (schemaCheck) { try { _schemaInfoUpdateCheck.flush(); } catch (Throwable t) { s_log.error("Could not update cache ", t); } }
try { printJob.print(); } catch (Exception ex) { throw new RuntimeException(ex); }
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLExecuterTask.java File path: /sql12/plugins/graph/src/net/sourceforge/squirrel_sql/plugins/graph/ZoomPrintController.java
Method name: void run() Method name: void onPrint()
Number of AST nodes: 3 Number of AST nodes: 2
1
if (schemaCheck) {
2
             try
1
try
3
             {
2
         {
4
                _schemaInfoUpdateCheck.flush();
3
            printJob.print();
5
             }
4
         
6
    
5
}
7
         catch (Throwable t)
6
         catch (
8
    
7
Exception ex)
9
         {
8
         {
10
                s_log.error("Could not update cache ", t);
9
            
11
             }
10
throw new RuntimeException(ex);
12
         }
11
         }
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons0