} else if (this.getMin() >= 0 && this.getMax() < 0) {
ret = this.child.toString(options)+"{"+this.getMin()+",}";
} else
throw new RuntimeException("Token#toString(): CLOSURE "
+this.getMin()+", "+this.getMax());
} else if (this.getMin() >= 0 && this.getMax() < 0) {
ret = this.child.toString(options)+"{"+this.getMin()+",}?";
} else
throw new RuntimeException("Token#toString(): NONGREEDYCLOSURE "
+ this.getMin() + ", " + this.getMax());
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | } else if (this.getMin() >= 0 && this.getMax() < 0) {↵ | | 1 | } else if (this.getMin() >= 0 && this.getMax() < 0) {↵
|
2 | ret = this.child.toString(options)+"{"+this.getMin()+",}";↵ | | 2 | ret = this.child.toString(options)+"{"+this.getMin()+",}?";↵
|
3 | } else↵ | | 3 | } else↵
|
4 | throw new RuntimeException("Token#toString(): CLOSURE "↵ | | 4 | throw new RuntimeException("Token#toString(): NONGREEDYCLOSURE "↵
|
5 | +this.getMin()+", "+this.getMax());↵ | | 5 | + this.getMin() + ", " + this.getMax());↵
|
6 | | | 6 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |