public Regexp getRegexpImplementation() { return new JakartaRegexpRegexp(); } public JakartaRegexpRegexpTest(String name) { super(name);
public Regexp getRegexpImplementation() { return new Jdk14RegexpRegexp(); } public Jdk14RegexpRegexpTest(String name) { super(name);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/regexp/JakartaRegexpRegexpTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/regexp/Jdk14RegexpRegexpTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public Regexp getRegexpImplementation() {
1
public Regexp getRegexpImplementation() {
2
        return new JakartaRegexpRegexp();
2
        return new Jdk14RegexpRegexp();
3
    }
3
    }
4
    public JakartaRegexpRegexpTest(String name) {
4
    public Jdk14RegexpRegexpTest(String name) {
5
        super(name);
5
        super(name);
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