tracks/java/exercises/sum-of-multiples/src/example/java/SumOfMultiples.java in trackler-2.0.5.1 vs tracks/java/exercises/sum-of-multiples/src/example/java/SumOfMultiples.java in trackler-2.0.5.2
- old
+ new
@@ -1,9 +1,8 @@
-import java.util.Arrays;
public class SumOfMultiples {
- public int Sum(int number, int[] set) {
+ public static int sum(int number, int[] set) {
int sum = 0;
int count = 0;
for (int i = 1; i < number; i++) {