Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7941

Repeated conditional test - EjbCorbaServant.java#L275 - incomingIdentity

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 10.1.0.Final
    • 11.0.0.Alpha1
    • EJB
    • None

    Description

      https://github.com/wildfly/wildfly/blame/master/ejb3/src/main/java/org/jboss/as/ejb3/iiop/EjbCorbaServant.java#L275

      276                            if (incomingIdentity != null && incomingIdentity.length > 0) {
      277                                //we have an identity token, which is a trust based mechanism
      278                                if (incomingIdentity.length > 0) {
      

      check on line 278 is unnecessary

      Attachments

        Issue Links

          Activity

            People

              dtikhomi@redhat.com Dmitrii Tikhomirov
              dtikhomi@redhat.com Dmitrii Tikhomirov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: