Josef Cacek created ELY-737:
-------------------------------
Summary: Coverity static analysis: Operands don't affect result in
Elytron
Key: ELY-737
URL:
https://issues.jboss.org/browse/ELY-737
Project: WildFly Elytron
Issue Type: Bug
Reporter: Josef Cacek
Assignee: Darran Lofthouse
Priority: Minor
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.
https://scan7.coverity.com/reports.htm#v16159/p11778/fileInstanceId=57601...
*Suggested improvement*
Remove the useless {{ch >= 0}} from the expression.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)