Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5445

Short circuit logic for boolean eval

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 17.0.0.Beta1, 17.0.0.Final
    • 16.0.0.Beta5
    • None
    • None

    Description

      Some OR evaluations ( a == true || b == true ) are typed with a single |
      Refer to https://wiki.sei.cmu.edu/confluence/display/c/EXP46-C.+Do+not+use+a+bitwise+operator+with+a+Boolean-like+operand

      Fix: Use two |

      Attachments

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            xf01213 Boris Unckel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: