int result = showErrorDialog(MailResourceLoader.getString(
"dialog", "error", "ssl_not_supported")
+ "\n"
+ MailResourceLoader.getString("dialog", "error",
"ssl_turn_off"));
if (result == 1) {
throw new CommandCancelledException();
}
// turn off SSL for the future
item.setBoolean("enable_ssl", false);
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/imap/IMAPServer.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/imap/IMAPServer.java
|
Method name: void openConnection()
|
|
Method name: void openConnection()
|
Number of AST nodes: 4
|
|
Number of AST nodes: 0
|
|
1 | int result = showErrorDialog(MailResourceLoader.getString(↵ | | | |
2 | "dialog", "error", "ssl_not_supported")↵ | | | |
3 | + "\n"↵ | | | |
4 | + MailResourceLoader.getString("dialog", "error",↵ | | | |
5 | "ssl_turn_off"));↵ | | | |
|
6 | if (result == 1) {↵ | | | |
7 | throw new CommandCancelledException();↵ | | | |
8 | }↵ | | | |
|
9 | // turn off SSL for the future↵ | | | |
10 | item.setBoolean("enable_ssl", false); | | | |
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.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 0 |