Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
6.5
-
None
-
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
- duplicates
-
LUCENE-5365 Typo with QueryNodeOperation.logicalAnd
- Closed