Details
-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
Description
Coverity static-analysis scan found unnecessary code in the DigestQuote.quoteNeeded() method on line 43 (currently).
One part of the condition is ch >= 0, which is always true, because the ch parameter has char type.
Suggested improvement
Remove the useless ch >= 0 from the expression.
Attachments
Issue Links
- clones
-
JBEAP-7062 Coverity static analysis: Operands don't affect result in Elytron
- Verified