if (CMD_CLOSE.equals(e.getActionCommand())) {
setVisible(false);
}
if (protocol.getState() < POP3Protocol.AUTHORIZATION) {
openConnection();
}
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/util/AboutDialog.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pop3/POP3Store.java
|
Method name: void actionPerformed(ActionEvent)
|
|
Method name: void ensureAuthorization()
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | if (CMD_CLOSE.equals(e.getActionCommand())) {↵ | | 1 | if (↵
|
2 | setVisible(false↵ | | 2 | protocol.getState() < POP3Protocol.AUTHORIZATION) {↵
|
3 | );↵ | | 3 | openConnection();↵
|
4 | } | | 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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |