Object obj = get(index);
removeElement(obj);
return obj;
IApplication result = getEasyMockApplication(false, false, col);
replay(result);
return result;
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/gui/SortedListModel.java
|
|
File path: /sql12/test/src/net/sourceforge/squirrel_sql/test/TestUtil.java
|
Method name: Object remove(int)
|
|
Method name: IApplication getEasyMockApplication(ActionCollection)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | Object obj = get(index);↵ | | |
|
2 | removeElement(obj);↵ | | |
|
3 | ↵ | | 1 | IApplication result = getEasyMockApplication(false, false, col);↵
|
| | | 2 | replay(result);↵
|
4 | return obj; | | 3 | return result;
|
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 different classes |
Number of node comparisons | 9 |