Skip to content

Commit

Permalink
More comments clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 6, 2024
1 parent 4a83100 commit 125b423
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/main/java/com/ctc/wstx/sr/BasicStreamReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -3695,9 +3695,8 @@ && resolveSimpleEntity(true) != 0) {
// Can only skip character entities; others need to
// be returned separately.
if (resolveCharOnlyEntity(true) == 0) {
/* Now points to the char after ampersand, and we need
* to return the ampersand itself
*/
// Now points to the char after ampersand, and we need
// to return the ampersand itself
return i;
}
}
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/com/ctc/wstx/sr/StreamScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -1231,9 +1231,8 @@ protected int resolveSimpleEntity(boolean checkStd)
c = buf[ptr++];
}
}
/* We get here either if we got it all, OR if we ran out of
* input in current buffer.
*/
// We get here either if we got it all, OR if we ran out of
// input in current buffer.
if (c == ';') { // got the full thing
mInputPtr = ptr;
validateChar(value);
Expand Down

0 comments on commit 125b423

Please sign in to comment.