public void setNext(ComponentHelper next) { this.next = next; } /** * Get the next chained component helper. * * @return the next chained component helper. */ public ComponentHelper getNext() { return next;
public void setNext(PropertyHelper next) { this.next = next; } /** * Get the next property helper in the chain. * * @return the next property helper. */ public PropertyHelper getNext() { return next;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/ComponentHelper.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/PropertyHelper.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setNext(ComponentHelper next) {
1
public void setNext(PropertyHelper next) {
2
        this.next = next;
2
        this.next = next;
3
    }
3
    }
4
    /**
4
    /**
5
     * Get the next chained component helper.
5
     * Get the next property helper in the chain.
6
     *
6
     *
7
     * @return the next chained component helper.
7
     * @return the next property helper.
8
     */
8
     */
9
    public ComponentHelper getNext() {
9
    public PropertyHelper getNext() {
10
        return next;
10
        return next;
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