public void setEJBdtd(String inString) { this.ejb11DTD = inString; } /** * Set the value of the oldCMP scheme. This is an antonym for newCMP * @ant.attribute ignore="true' * @param oldCMP a <code>boolean</code> value. */ public void setOldCMP(boolean oldCMP) { this.newCMP = !oldCMP; } /** * If this is set to true, the new method for locating * CMP descriptors will be used; optional, default false. * <P> * The old CMP scheme locates the * weblogic CMP descriptor based on the naming convention where the * weblogic CMP file is expected to be named with the bean name as the * prefix. Under this scheme the name of the CMP descriptor does not match * the name actually used in the main weblogic EJB descriptor. Also, * descriptors which contain multiple CMP references could not be used. * @param newCMP a <code>boolean</code> value. */ public void setNewCMP(boolean newCMP) { this.newCMP = newCMP
public void setEJBdtd(String inString) { this.ejb11DTD = inString; } /** * Set the value of the oldCMP scheme. This is an antonym for newCMP * @ant.attribute ignore="true" * @param oldCMP a <code>boolean</code> value. */ public void setOldCMP(boolean oldCMP) { this.newCMP = !oldCMP; } /** * Set the value of the newCMP scheme. The old CMP scheme locates the * websphere CMP descriptor based on the naming convention where the * websphere CMP file is expected to be named with the bean name as the * prefix. Under this scheme the name of the CMP descriptor does not match * the name actually used in the main websphere EJB descriptor. Also, * descriptors which contain multiple CMP references could not be used. * @param newCMP a <code>boolean</code> value. */ public void setNewCMP(boolean newCMP) { this.newCMP = newCMP
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setEJBdtd(String inString) {
1
public void setEJBdtd(String inString) {
2
        this.ejb11DTD = inString;
2
        this.ejb11DTD = inString;
3
    }
3
    }
4
    /**
4
    /**
5
     * Set the value of the oldCMP scheme. This is an antonym for newCMP
5
     * Set the value of the oldCMP scheme. This is an antonym for newCMP
6
     * @ant.attribute ignore="true'
6
     * @ant.attribute ignore="true"
7
     * @param oldCMP a <code>boolean</code> value.
7
     * @param oldCMP a <code>boolean</code> value.
8
     */
8
     */
9
    public void setOldCMP(boolean oldCMP) {
9
    public void setOldCMP(boolean oldCMP) {
10
        this.newCMP = !oldCMP;
10
        this.newCMP = !oldCMP;
11
    }
11
    }
12
    /**
12
    /**
13
     * If this is set to true, the new method for locating
13
     * 
14
     * CMP descriptors will be used; optional, default false.
15
     * <P>
16
     * The old CMP scheme locates the
14
Set the value of the newCMP scheme. The old CMP scheme locates the
17
     * weblogic CMP descriptor based on the naming convention where the
15
     * websphere CMP descriptor based on the naming convention where the
18
     * weblogic CMP file is expected to be named with the bean name as the
16
     * websphere CMP file is expected to be named with the bean name as the
19
     * prefix. Under this scheme the name of the CMP descriptor does not match
17
     * prefix. Under this scheme the name of the CMP descriptor does not match
20
     * the name actually used in the main weblogic EJB descriptor. Also,
18
     * the name actually used in the main websphere EJB descriptor. Also,
21
     * descriptors which contain multiple CMP references could not be used.
19
     * descriptors which contain multiple CMP references could not be used.
22
     * @param newCMP a <code>boolean</code> value.
20
     * @param newCMP a <code>boolean</code> value.
23
     */
21
     */
24
    public void setNewCMP(boolean newCMP) {
22
    public void setNewCMP(boolean newCMP) {
25
        this.newCMP = newCMP
23
        this.newCMP = newCMP
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0