This inspection highlights expressions where a reference is compared to a different value on either side of an or-expression. For example: x != a || x != b. Such expressions are always true, and a quickfix is available to change them to the correct x != a && x != b

Powered by InspectionGadgets