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; } /** * 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
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/taskdefs/XSLTProcess.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 whether this param should NOT be used. It
6
     * will not be used if the property has been set, orthwise it
6
         * will not be used if the property has been set, otherwise it
7
     * will be used.
7
         * will be used.
8
     * @param unlessProperty name of property
8
         * @param unlessProperty name of property
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