default:
if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
String s = "0000" + Integer.toString(ch, 16);
retval.append("\\u" + s.substring(s.length() - 4, s.length()));
} else {
if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
String s = "0000" + Integer.toString(ch, 16);
retval.append("\\u" + s.substring(s.length() - 4, s.length()));
} else {
retval.append(ch);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/bsh/ParseException.java
|
|
File path: /jEdit-4.2/src/bsh/TokenMgrError.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | default:↵ | | |
|
2 | if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {↵ | | 1 | if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {↵
|
3 | String s = "0000" + Integer.toString(ch, 16);↵ | | 2 | String s = "0000" + Integer.toString(ch, 16);↵
|
4 | retval.append("\\u" + s.substring(s.length() - 4, s.length()));↵ | | 3 | retval.append("\\u" + s.substring(s.length() - 4, s.length()));↵
|
5 | } else {↵ | | 4 | } else {↵
|
6 | | | 5 | retval.append(ch);↵
|
| | | 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 |