[jboss-jira] [JBoss JIRA] (ELY-733) Coverity static analysis: Useless call in Elytron
Josef Cacek (JIRA)
issues at jboss.org
Thu Nov 10 12:54:00 EST 2016
Josef Cacek created ELY-733:
-------------------------------
Summary: Coverity static analysis: Useless call in Elytron
Key: ELY-733
URL: https://issues.jboss.org/browse/ELY-733
Project: WildFly Elytron
Issue Type: Bug
Reporter: Josef Cacek
Assignee: Darran Lofthouse
Priority: Minor
Coverity static analysis: Useless call in Elytron
Coverity static-analysis scan found useless call in the {{FileSystemSecurityRealm.writeIdentity()}} method on line 554 (currently).
There is an orphan call of {{otp.getHash()}}.
https://scan7.coverity.com/reports.htm#v16159/p11778/fileInstanceId=5721630&defectInstanceId=1531117&mergedDefectId=1369308
The correct call is on the line 557, where it's used in streamWriter.
**Suggested improvement**
Remove the useless call.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list