public void setIf(String ifProperty) { this.ifProperty = ifProperty; } /** * Set whether this param should NOT be used. It * will not be used if the property has been set, otherwise 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/XSLTProcess.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
    /**
5
    /**
6
         * Set whether this param should NOT be used. It
6
     * Set
7
         * will not be used if the property has been set, otherwise it
8
         * will be used.
9
    
7
s the unless attribute to a property which cannot exist for the
8
     * selector to select any files.
10
     * @param unlessProperty name of property
9
     * @param unlessProperty 
11
    
10
the property to check
12
     */
11
     */
13
        public void setUnless(String unlessProperty) {
12
    public void setUnless(String unlessProperty) {
14
            this.unlessProperty = unlessProperty;
13
        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