} else if (con.match != null && refno < 0) {
int index = -refno;
int save = con.match.getEnd(index);
con.match.setEnd(index, offset);
int ret = this. matchString (con, op.next, offset, dx, opts);
if (ret < 0) con.match.setEnd(index, save);
return ret;
} else if (con.match != null && refno < 0) {
int index = -refno;
int save = con.match.getEnd(index);
con.match.setEnd(index, offset);
int ret = this. matchCharacterIterator (con, op.next, offset, dx, opts);
if (ret < 0) con.match.setEnd(index, save);
return ret;
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 (con.match != null && refno < 0) {↵ | | 1 | } else if (con.match != null && refno < 0) {↵
|
2 | int index = -refno;↵ | | 2 | int index = -refno;↵
|
3 | int save = con.match.getEnd(index);↵ | | 3 | int save = con.match.getEnd(index);↵
|
4 | con.match.setEnd(index, offset);↵ | | 4 | con.match.setEnd(index, offset);↵
|
5 | int ret = this. matchString (con, op.next, offset, dx, opts);↵ | | 5 | int ret = this. matchCharacterIterator (con, op.next, offset, dx, opts);↵
|
6 | if (ret < 0) con.match.setEnd(index, save);↵ | | 6 | if (ret < 0) con.match.setEnd(index, save);↵
|
7 | return ret;↵ | | 7 | return ret;↵
|
8 | | | 8 |
|
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 |