]
Ilia Vassilev reassigned ELY-733:
---------------------------------
Assignee: Ilia Vassilev (was: Darran Lofthouse)
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: Ilia Vassilev
Priority: Minor
Labels: static_analysis
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=57216...
The correct call is on the line 557, where it's used in streamWriter.
*Suggested improvement*
Remove the useless call.