File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/action/OpenAttachmentAction.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/action/SaveAsAttachmentAction.java | |||
Method name: void actionPerformed(ActionEvent)
|
Method name: void actionPerformed(ActionEvent)
|
|||
Number of AST nodes: 1 | Number of AST nodes: 1 | |||
1 | CommandProcessor.getInstance().addOp(↵ | 1 | CommandProcessor.getInstance().addOp(↵ | |
2 | new OpenAttachmentCommand(new MailFolderCommandReference(ref↵ | 2 | new SaveAttachmentAsCommand(new MailFolderCommandReference(ref↵ | |
3 | .getSourceFolder(), ref.getUids(), address))); | 3 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
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 having the same super class |
Number of node comparisons | 1 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4 | CommandProcessor.getInstance().addOp(new OpenAttachmentCommand(new MailFolderCommandReference(ref.getSourceFolder(), ref.getUids(), address))); |
| 4 | CommandProcessor.getInstance().addOp(new SaveAttachmentAsCommand(new MailFolderCommandReference(ref.getSourceFolder(), ref.getUids(), address))); |
Row | Violation |
---|