for (int row = 0; row < tbl.getRowCount(); row++)
{
tbl.setValueAt(mark, row, col);
}
for (int i = 0; i < node.getChildCount(); i++)
{
fillAllAliasesFrom((DefaultMutableTreeNode) node.getChildAt(i), toFill);
}
Clone fragments detected by clone detection tool
File path: /sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/SmarttoolsHelper.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/JTreeAliasesListImpl.java
|
Method name: void markAllRows(JTable, int, boolean)
|
|
Method name: void fillAllAliasesFrom(DefaultMutableTreeNode, ArrayList)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | for (int row = 0; row < tbl.getRowCount(); row++)↵ | | 1 | for (int i = 0; i < node.getChildCount(); i++)↵
|
2 | {↵ | | |
|
3 | tbl.setValueAt(mark, row, col);↵ | | |
|
4 | ↵ | | 2 | {↵
|
| | | 3 | fillAllAliasesFrom((DefaultMutableTreeNode) node.getChildAt(i), toFill);↵
|
5 | } | | 4 | }
|
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.3 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |