[jboss-jira] [JBoss JIRA] (WFCORE-3731) Code cleanup suggested by Coverity or IntelliJ

Rostislav Svoboda (JIRA) issues at jboss.org
Tue Apr 10 07:59:00 EDT 2018


     [ https://issues.jboss.org/browse/WFCORE-3731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rostislav Svoboda updated WFCORE-3731:
--------------------------------------
    Description: 
Code cleanup suggested by Coverity or IntelliJ.

CommandCommandHandler - removal of unnecessary if, checked with Jean-Francois Denise
ConnectionInfoHandler - lastChainCertificate is X509Certificate[], instanceof check is not necessary
RealmIdentityManager - credential is always PasswordCredential, only null check is relevant

Second PR for removal of unused variables aka dead local store, for details see the PR https://github.com/wildfly/wildfly-core/pull/3204


  was:
Code cleanup suggested by Coverity or IntelliJ.

CommandCommandHandler - removal of unnecessary if, checked with Jean-Francois Denise
ConnectionInfoHandler - lastChainCertificate is X509Certificate[], instanceof check is not necessary
RealmIdentityManager - credential is always PasswordCredential, only null check is relevant




> Code cleanup suggested by Coverity or IntelliJ
> ----------------------------------------------
>
>                 Key: WFCORE-3731
>                 URL: https://issues.jboss.org/browse/WFCORE-3731
>             Project: WildFly Core
>          Issue Type: Task
>    Affects Versions: 5.0.0.Alpha2
>            Reporter: Rostislav Svoboda
>            Assignee: Rostislav Svoboda
>            Priority: Minor
>             Fix For: 5.0.0.Alpha3
>
>
> Code cleanup suggested by Coverity or IntelliJ.
> CommandCommandHandler - removal of unnecessary if, checked with Jean-Francois Denise
> ConnectionInfoHandler - lastChainCertificate is X509Certificate[], instanceof check is not necessary
> RealmIdentityManager - credential is always PasswordCredential, only null check is relevant
> Second PR for removal of unused variables aka dead local store, for details see the PR https://github.com/wildfly/wildfly-core/pull/3204



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list