Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0.0
Description
def needsEscaping(c: Char): Boolean = {
c >= 0 && c < charToEscape.size() && charToEscape.get(c)
}
The numerical range of Char in Scala is from 0 to 65,535, so `c>=0` is always true.
Attachments
Issue Links
- links to