if (isSet(opts, MULTIPLE_LINES)) {
if (!(offset == con.start
|| offset > con.start && isEOLChar( target [ offset-1 ] )))
return -1;
} else {
if (offset != con.start)
return -1;
if (isSet(opts, MULTIPLE_LINES)) {
if (!(offset == con.start
|| offset > con.start && isEOLChar( target .setIndex( offset-1 ) )))
return -1;
} else {
if (offset != con.start)
return -1;
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 | if (isSet(opts, MULTIPLE_LINES)) {↵ | | 1 | if (isSet(opts, MULTIPLE_LINES)) {↵
|
2 | if (!(offset == con.start↵ | | 2 | if (!(offset == con.start↵
|
3 | || offset > con.start && isEOLChar( target [ offset-1 ] )))↵ | | 3 | || offset > con.start && isEOLChar( target .setIndex( offset-1 ) )))↵
|
4 | return -1;↵ | | 4 | return -1;↵
|
5 | } else {↵ | | 5 | } else {↵
|
6 | if (offset != con.start)↵ | | 6 | if (offset != con.start)↵
|
7 | return -1;↵ | | 7 | return -1;↵
|
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 |