protocol.startTLS(); usingSSL = true; LOG.info("Switched to SSL");
protocol.startTLS(); usingSSL = true; LOG.info("Switched to SSL");
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/pop3/POP3Store.java
Method name: void openConnection() Method name: void openConnection()
Number of AST nodes: 3 Number of AST nodes: 3
1
protocol.startTLS();
1
protocol.startTLS();
2
					usingSSL = true;
2
					usingSSL = true;
3
					LOG.info("Switched to SSL");
3
					LOG.info("Switched to SSL");
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons5
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    12
    protocol.startTLS();
    12
    protocol.startTLS();
    11
    protocol.startTLS();
    Differences
    Expression1Expression2Difference
    org.columba.ristretto.imap.IMAPProtocolorg.columba.ristretto.pop3.POP3ProtocolSUBCLASS_TYPE_MISMATCH
    Preondition Violations
    Expression protocol cannot be unified with expression protocol , because common superclass org.columba.ristretto.auth.AuthenticationServer does not declare member(s) public void startTLS() throws java.io.IOException, javax.net.ssl.SSLException, org.columba.ristretto.imap.IMAPException
    11
    protocol.startTLS();
    13
    usingSSL = true;
    12
    usingSSL = true;
    14
    LOG.info("Switched to SSL");
    13
    LOG.info("Switched to SSL");
    Precondition Violations (1)
    Row Violation
    1Expression protocol cannot be unified with expression protocol , because common superclass org.columba.ristretto.auth.AuthenticationServer does not declare member(s) public void startTLS() throws java.io.IOException, javax.net.ssl.SSLException, org.columba.ristretto.imap.IMAPException