Details

    • Lucene Fields:
      New

      Description

      Hi
      Please, look this code fragment:

          else if (q1 instanceof AndQueryNode)
            op = ANDOperation.Q1;
          else if (q1 instanceof AndQueryNode)
            op = ANDOperation.Q2;
      

      (q1 instanceof AndQueryNode) is checked twice.

      Probably it should be:

          else if (q1 instanceof AndQueryNode)
            op = ANDOperation.Q1;
          else if (q2 instanceof AndQueryNode)
            op = ANDOperation.Q2;
      

      This possible defect found by AppChecker

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                AppChecker AppChecker
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: