public void setDescriptors(String dirName) { descriptorDirectory = new File(dirName); } /** * Set the directory into which the serialized deployment descriptors are to * be written. * * @param dirName the name of the directory into which the serialised deployment * descriptors are written. */ public void setDest(String dirName) { generatedFilesDirectory = new File(dirName);
public void setDescriptors(String dirName) { descriptorDirectory = new File(dirName); } /** * Set the directory into which the support classes, RMI stubs, etc are to be written. * * @param dirName the name of the directory into which code is generated */ public void setDest(String dirName) { generatedFilesDirectory = new File(dirName);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/DDCreator.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/Ejbc.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setDescriptors(String dirName) {
1
public void setDescriptors(String dirName) {
2
        descriptorDirectory = new File(dirName);
2
        descriptorDirectory = new File(dirName);
3
    }
3
    }
4
    /**
4
    /**
5
     * Set the directory into which the serialized deployment descriptors are to
5
     * Set the directory into which the s
6
     * be written.
6
upport classes, RMI stubs, etc are to be written.
7
     *
7
     *
8
     * @param dirName the name of the directory into which the serialised deployment
8
     * @param dirName the name of the directory into which 
9
     *                descriptors are written.
9
code is generated
10
     */
10
     */
11
    public void setDest(String dirName) {
11
    public void setDest(String dirName) {
12
        generatedFilesDirectory = new File(dirName);
12
        generatedFilesDirectory = new File(dirName);
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