eclipse-ee4j / eclipse-ee4j/parsson
Doubt about writeEscapedString()
Open
- Dominant language
- Java
- Stars
- 17
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
There are some doubts about writeEscapedString(). This method
char c = s.charAt; but then at some place it compares c < 0x10FFFF.
But this test trivially always true since char data type is in the range
0x0000 to 0xFFFF. Is the intention of the code to use s.codePointAt()?
#### Environment
All
#### Affected Versions
[1.0.4]
Contributor guide
Assessment
This issue has not been assessed yet.