int () { final int[] ints = new int[3]; int total = 0; <warning descr="'for' loop can be replaced with enhanced 'for'">for</warning>(int i = 0; i < ints.length; i++){ final int j = ints[i]; total += j; } return total; }