if (_stmt != null) { _stmt.cancel(); }
if (!maxRowsHasBeenSet) { setMaxRows(props); maxRowsHasBeenSet = true; }
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLExecuterTask.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLExecuterTask.java
Method name: void run() Method name: void run()
Number of AST nodes: 2 Number of AST nodes: 3
1
if (_stmt != null)
1
if (
2
!maxRowsHasBeenSet)
2
               {
3
                        {
3
                  _stmt.cancel();
4
                  
5
         setMaxRows(props);
6
                           maxRowsHasBeenSet = true;
4
               }
7
                        }
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 the same method
Number of node comparisons0