Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 2 | 3 | 0.952 | statement_sequence[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 93 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/table/action/DownAction.java |
2 | 19 | 91 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/table/action/UpAction.java |
| |||||
// getting from the next node the uid Object[] nextUids = new Object[1]; nextUids[0] = ((MessageNode) nextNode).getUid(); LOG.info("prevUids: " + nextUids); // and set this to the actual ref r.setUids(nextUids); // check if the node is not null IMessageNode[] nodes = new MessageNode[nextUids.length]; for (int i = 0; i < nextUids.length; i++) { nodes[i] = tableController.getMessageNode(nextUids[i]); } boolean node_ok = true; for (int i = 0; i < nodes.length; i++) { if (nodes[i] == null) { node_ok = false; break; } } |
| |||||
Object[] prevUids = new Object[1]; prevUids[0] = ((MessageNode) prevNode).getUid(); LOG.info("prevUids: " + prevUids); ref.setUids(prevUids); // check if the node is not null IMessageNode[] nodes = new MessageNode[prevUids.length]; for (int i = 0; i < prevUids.length; i++) { nodes[i] = tableController.getMessageNode(prevUids[i]); } boolean node_ok = true; for (int i = 0; i < nodes.length; i++) { if (nodes[i] == null) { node_ok = false; break; } } |
| |||
// getting from the next node the uid Object[] [[#variable11389600]]= new Object[1]; [[#variable11389600]][0] = ((MessageNode) [[#variable11389680]]).getUid(); LOG.info("prevUids: " + [[#variable11389600]]); [[#variable11389620]].setUids( [[#variable11389600]]); // check if the node is not null IMessageNode[] nodes = new MessageNode[ [[#variable11389600]].length]; for (int i = 0; i < [[#variable11389600]].length; i++) { nodes[i] = tableController.getMessageNode( [[#variable11389600]][i]); } boolean node_ok = true; for (int i = 0; i < nodes.length; i++) { if (nodes[i] == null) { node_ok = false; break; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#11389600]] | nextUids |
1 | 2 | [[#11389600]] | prevUids |
2 | 1 | [[#11389680]] | nextNode |
2 | 2 | [[#11389680]] | prevNode |
3 | 1 | [[#11389620]] | // and set this to the actual ref r |
3 | 2 | [[#11389620]] | ref |