File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pop3/POP3Store.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pop3/POP3Store.java | |||
Method name: void openConnection()
|
Method name: void openConnection()
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | int result = showErrorDialog(MailResourceLoader.getString(↵ | 1 | int result = showErrorDialog(MailResourceLoader.getString(↵ | |
2 | "dialog", "error", "ssl_handshake_error")↵ | 2 | "dialog", "error", "ssl_handshake_error")↵ | |
3 | + ": "↵ | 3 | + ": "↵ | |
4 | + e.getLocalizedMessage()↵ | 4 | + e.getLocalizedMessage()↵ | |
5 | + "\n"↵ | 5 | + "\n"↵ | |
6 | + MailResourceLoader.getString("dialog", "error",↵ | 6 | + MailResourceLoader.getString("dialog", "error",↵ | |
7 | "ssl_turn_off"));↵ | 7 | "ssl_turn_off"));↵ | |
8 | if (result == JOptionPane.CANCEL_OPTION) {↵ | 8 | if (result == JOptionPane.CANCEL_OPTION) {↵ | |
9 | throw new CommandCancelledException();↵ | 9 | throw new CommandCancelledException();↵ | |
10 | }↵ | 10 | }↵ | |
11 | // turn off SSL for the future↵ | 11 | // turn off SSL for the future↵ | |
12 | popItem.setBoolean("enable_ssl", false); | 12 | popItem.setBoolean("enable_ssl", false); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 1.6 |
Clones location | Clones are in the same method |
Number of node comparisons | 3 |
Number of mapped statements | 0 |
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.1 |
Clone type | Unknown type |
ID | Statement | ID | Statement |
---|
Row | Violation |
---|