Details
Description
when exist clause in body of method like this:
String str = "10$";
int count = Integer.valueOf (str.substring (0, str.indexOf ('$'))).intValue();
after parsing to get different source code:
int count = Integer.valueOf (str.substring (0, str.indexOf ('$"))).intValue();
with using JavaMethod.getSourceCode; changed ' -> "
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.9.1 [ 15252 ] | |
| Assignee | Robert Scholte [ rfscholte ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Duplicate [ 3 ] |
| Fix Version/s | 1.10 [ 15020 ] | |
| Fix Version/s | 1.9.1 [ 15252 ] |
| Resolution | Duplicate [ 3 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Fix Version/s | 1.9.1 [ 15252 ] | |
| Fix Version/s | 1.10 [ 15020 ] | |
| Resolution | Fixed [ 1 ] |
duplicate of
QDOX-155