Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-733

Coverity static analysis: Useless call in Elytron

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.1.0.Beta15
    • None
    • None

      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.

            rhn-support-ivassile Ilia Vassilev
            josef.cacek@gmail.com Josef Cacek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: