public void setSrc(File file) { helper.setSrc(file); } /** * The script text. * * @param text a component of the script text to be added. */ public void addText(String text) { helper.addText(text);
public void setSrc(File file) { helper.setSrc(file); } /** * The script text. * * @param text a component of the script text to be added. */ public void addText(String text) { helper.addText(text);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/optional/AbstractScriptComponent.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/optional/ScriptFilter.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setSrc(File file) {
1
public void setSrc(File file) {
2
        helper.setSrc(file);
2
        helper.setSrc(file);
3
    }
3
    }
4
    /**
4
    /**
5
     * The script text.
5
     * The script text.
6
     *
6
     *
7
     * @param text a component of the script text to be added.
7
     * @param text a component of the script text to be added.
8
     */
8
     */
9
    public void addText(String text) {
9
    public void addText(String text) {
10
        helper.addText(text);
10
        helper.addText(text);
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