void (int[] data) { String s1 = data.length > 0 ? "foo" : null; String s2 = data.length == 0 ? null : "bar"; if(s1 == null || <warning descr="Condition 's2 == null' is always 'false' when reached">s2 == null</warning>) { System.out.println("Test"); } }