public void setFrom(String from) { this.from = from; } /** * the to attribute * * @param to the string to replace 'from' with */ public void setTo(String to) { this.to = to;
public void setFrom(String from) { this.from = from; } /** * Set the replacement text to use when from is matched; required. * @param to new prefix. */ public void setTo(String to) { this.to = to;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/filters/TokenFilter.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/PathConvert.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setFrom(String from) {
1
public void setFrom(String from) {
2
            this.from = from;
2
            this.from = from;
3
        }
3
        }
4
        /**
4
        /**
5
         * the to attribute
5
         * 
6
         *
7
         * @param to the string to replace 'from' with
6
Set the replacement text to use when from is matched; required.
7
         * @param to new prefix.
8
         */
8
         */
9
        public void setTo(String to) {
9
        public void setTo(String to) {
10
            this.to = to;
10
            this.to = to;
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