Skip to content

Commit 51187a2

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] checkstyle fix.
1 parent bd7998d commit 51187a2

File tree

1 file changed

+1
-1
lines changed
  • algorithm-exercises-java/src/main/java/ae/projecteuler/helper

1 file changed

+1
-1
lines changed

algorithm-exercises-java/src/main/java/ae/projecteuler/helper/BigNum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public BigNum bigSum(BigNum bigNum) {
8888
public BigNum bigSum(List<Integer> numberList) {
8989
List<Integer> a = this.getInternalValue();
9090
List<Integer> b = numberList;
91-
ArrayList<Integer> result = new ArrayList<>();
9291

9392
Collections.reverse(a);
9493
Collections.reverse(b);
@@ -107,6 +106,7 @@ public BigNum bigSum(List<Integer> numberList) {
107106
}
108107
}
109108

109+
ArrayList<Integer> result = new ArrayList<>();
110110
// do the sum
111111
for (int i = 0; i < a.size(); i++) {
112112
sum = a.get(i) + b.get(i) + carry;

0 commit comments

Comments
 (0)