To ignore conditions that may produce side effects, use the Ignore conditions with side effects checkbox. Clearing this checkbox may lead to false-positives, for example, when the same method returns different values on subsequent invocations.
Examples:
boolean result = digit1 != digit2 || digit1 != digit2;
if (iterator.next() != null || iterator.next() != null)
System.out.println("Got it");
}
// Due to possible side effects of iterator.next(), the warning will only be issued if the Ignore conditions with side effects option is disabled.