Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8429

Repeated conditional test - EjbCorbaServant.java#L275 - incomingIdentity

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR12
    • None
    • 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
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: