public RegexpMatcher getImplementation() { return new JakartaRegexpMatcher(); } public JakartaRegexpMatcherTest(String name) { super(name)
public RegexpMatcher getImplementation() { return new Jdk14RegexpMatcher(); } public Jdk14RegexpMatcherTest(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/JakartaRegexpMatcherTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/regexp/Jdk14RegexpMatcherTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public RegexpMatcher getImplementation() {
1
public RegexpMatcher getImplementation() {
2
        return new JakartaRegexpMatcher();
2
        return new Jdk14RegexpMatcher();
3
    }
3
    }
4
    public JakartaRegexpMatcherTest(String name) {
4
    public Jdk14RegexpMatcherTest(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