public void setIf(String ifProperty) { this.ifProperty = ifProperty; } /** * Set whether this formatter should NOT be used. It * will not be used if the property has been set, orthwise it * will be used. * @param unlessProperty name of property */ public void setUnless(String unlessProperty) { this.unlessProperty = unlessProperty
public void setIf(String ifProperty) { this.ifProperty = ifProperty; } /** * Sets the unless attribute to a property which cannot exist for the * selector to select any files. * @param unlessProperty the property to check */ public void setUnless(String unlessProperty) { this.unlessProperty = unlessProperty
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/FormatterElement.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/selectors/SelectSelector.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setIf(String ifProperty) {
1
public void setIf(String ifProperty) {
2
        this.ifProperty = ifProperty;
2
        this.ifProperty = ifProperty;
3
    }
3
    }
4
    /**
4
    /**
5
     * Set whether this formatter should NOT be used. It
5
     * Set
6
     * will not be used if the property has been set, orthwise it
6
s the unless attribute to a property which cannot exist for the
7
     * will be used.
7
     * selector to select any files.
8
     * @param unlessProperty name of property
8
     * @param unlessProperty the property to check
9
     */
9
     */
10
    public void setUnless(String unlessProperty) {
10
    public void setUnless(String unlessProperty) {
11
        this.unlessProperty = unlessProperty
11
        this.unlessProperty = unlessProperty
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