File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/ae/projecteuler/helper Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ tasks.named('test') {
42
42
}
43
43
44
44
checkstyle {
45
- toolVersion = ' 10.14.0 '
45
+ toolVersion = ' 10.14.1 '
46
46
configFile = file(" ${ rootDir} /config/checkstyle/checkstyle.xml" )
47
47
maxErrors = 0
48
48
maxWarnings = 0
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ public BigNum bigSum(BigNum bigNum) {
88
88
public BigNum bigSum (List <Integer > numberList ) {
89
89
List <Integer > a = this .getInternalValue ();
90
90
List <Integer > b = numberList ;
91
- ArrayList <Integer > result = new ArrayList <>();
92
91
93
92
Collections .reverse (a );
94
93
Collections .reverse (b );
@@ -107,6 +106,7 @@ public BigNum bigSum(List<Integer> numberList) {
107
106
}
108
107
}
109
108
109
+ ArrayList <Integer > result = new ArrayList <>();
110
110
// do the sum
111
111
for (int i = 0 ; i < a .size (); i ++) {
112
112
sum = a .get (i ) + b .get (i ) + carry ;
You can’t perform that action at this time.
0 commit comments