rmuir opened a new pull request, #14966:
URL: https://github.com/apache/lucene/pull/14966

   This check trips if you use an assignment as a boolean conditional.
   
   You can avoid it either by not using assignments as boolean conditionals, or 
by using an explicit comparison such as:
   
   ```java
   // instead of:
   if (x = y) {}
   
   // change to:
   if ((x = y) == true) {}
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to