int (int[] values) { int min = Integer.MAX_VALUE; for (int value : values) { if (value < min) min = value; } if (<warning descr="Condition 'min > 0 && min < -10' is always 'false'">min > 0 && <warning descr="Condition 'min < -10' is always 'false' when reached">min < -10</warning></warning>) { System.out.println("Invalid result"); } return min; }