log("The <weblogictoplink> element is no longer required. Please use " + "the <weblogic> element and set newCMP=\"true\"", Project.MSG_INFO); WeblogicTOPLinkDeploymentTool tool = new WeblogicTOPLinkDeploymentTool(); addDeploymentTool(tool); return tool;
log("iPlanet Application Server deployment tools", Project.MSG_VERBOSE); IPlanetDeploymentTool tool = new IPlanetDeploymentTool(); addDeploymentTool(tool); return tool;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java
Method name: WeblogicTOPLinkDeploymentTool createWeblogictoplink() Method name: IPlanetDeploymentTool createIplanet()
Number of AST nodes: 4 Number of AST nodes: 4
1
log("The <weblogictoplink> element is no longer required. Please use "
1
log("
2
            + "the <weblogic> element and set newCMP=\"true\"",
3
            Project.MSG_INFO);
2
iPlanet Application Server deployment tools", Project.MSG_VERBOSE);
4
        WeblogicTOPLinkDeploymentTool tool
3
        IPlanetDeploymentTool tool
5
            = new WeblogicTOPLinkDeploymentTool();
4
 = new IPlanetDeploymentTool();
6
        addDeploymentTool(tool);
5
        addDeploymentTool(tool);
7
        return tool;
6
        return tool;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are declared in the same class
Number of node comparisons8
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements4
    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
    1
    log("The <weblogictoplink> element is no longer required. Please use " + "the <weblogic> element and set newCMP=\"true\"", Project.MSG_INFO);
    1
    log("The <weblogictoplink> element is no longer required. Please use " + "the <weblogic> element and set newCMP=\"true\"", Project.MSG_INFO);
    1
    log("iPlanet Application Server deployment tools", Project.MSG_VERBOSE);
    Differences
    Expression1Expression2Difference
    "The element is no longer required. Please use " + "the element and set newCMP=\"true\"""iPlanet Application Server deployment tools"TYPE_COMPATIBLE_REPLACEMENT
    MSG_INFOMSG_VERBOSEVARIABLE_NAME_MISMATCH
    1
    log("iPlanet Application Server deployment tools", Project.MSG_VERBOSE);
    2
    WeblogicTOPLinkDeploymentTool tool = new WeblogicTOPLinkDeploymentTool();
    2
    WeblogicTOPLinkDeploymentTool tool = new WeblogicTOPLinkDeploymentTool();
    2
    IPlanetDeploymentTool tool = new IPlanetDeploymentTool();
    Differences
    Expression1Expression2Difference
    org.apache.tools.ant.taskdefs.optional.ejb.WeblogicTOPLinkDeploymentToolorg.apache.tools.ant.taskdefs.optional.ejb.IPlanetDeploymentToolSUBCLASS_TYPE_MISMATCH
    org.apache.tools.ant.taskdefs.optional.ejb.WeblogicTOPLinkDeploymentToolorg.apache.tools.ant.taskdefs.optional.ejb.IPlanetDeploymentToolSUBCLASS_TYPE_MISMATCH
    org.apache.tools.ant.taskdefs.optional.ejb.WeblogicTOPLinkDeploymentToolorg.apache.tools.ant.taskdefs.optional.ejb.IPlanetDeploymentToolSUBCLASS_TYPE_MISMATCH
    2
    IPlanetDeploymentTool tool = new IPlanetDeploymentTool();
    3
    addDeploymentTool(tool);
    3
    addDeploymentTool(tool);
    3
    addDeploymentTool(tool);
    Differences
    Expression1Expression2Difference
    org.apache.tools.ant.taskdefs.optional.ejb.WeblogicTOPLinkDeploymentToolorg.apache.tools.ant.taskdefs.optional.ejb.IPlanetDeploymentToolSUBCLASS_TYPE_MISMATCH
    3
    addDeploymentTool(tool);
    4
    return tool;
    4
    return tool;
    4
    return tool;
    Differences
    Expression1Expression2Difference
    org.apache.tools.ant.taskdefs.optional.ejb.WeblogicTOPLinkDeploymentToolorg.apache.tools.ant.taskdefs.optional.ejb.IPlanetDeploymentToolSUBCLASS_TYPE_MISMATCH
    4
    return tool;
    Precondition Violations (0)
    Row Violation