Skip to content

Commit

Permalink
Minor streamlining of check
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 18, 2023
1 parent 8880bee commit 75e1390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/ctc/wstx/dtd/MinimalDTDReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ protected void skipCommentContent()
if (c == '-') {
return;
}
if (c == '\n') skipCRLF(c);
} else if (c == '\n' || c == '\r') {
}
if (c == '\n' || c == '\r') {
skipCRLF(c);
}
}
Expand Down

0 comments on commit 75e1390

Please sign in to comment.