Map<String, String> attributes = new Hashtable<String, String>();
Hashtable<String, String> map = new Hashtable<String, String>();
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/plugin/ExtensionXMLParser.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/main/MessageOptionParser.java
Method name: ExtensionMetadata parseExtensionMetadata(Element) Method name: Map parse(String)
Number of AST nodes: 1 Number of AST nodes: 1
1
Map<String, String> attributes = new Hashtable<String, String>();
1
Hashtable<String, String> map = new Hashtable<String, String>();
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 comparisons1
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements1
    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
    Map<String, String> attributes = new Hashtable<String, String>();
    12
    Map<String, String> attributes = new Hashtable<String, String>();
    3
    Hashtable<String, String> map = new Hashtable<String, String>();
    Differences
    Expression1Expression2Difference
    java.util.Mapjava.util.HashtableSUBCLASS_TYPE_MISMATCH
    attributesmapVARIABLE_NAME_MISMATCH
    java.util.Mapjava.util.HashtableSUBCLASS_TYPE_MISMATCH
    3
    Hashtable<String, String> map = new Hashtable<String, String>();
    Precondition Violations (1)
    Row Violation
    1Clone fragment #1 returns variable attributes with type java.util.Map<java.lang.String,java.lang.String> , while Clone fragment #2 returns variable map with type java.util.Hashtable<java.lang.String,java.lang.String>