Update things
This commit is contained in:
@@ -2,7 +2,6 @@ package be.vandewalleh.aoc;
|
||||
|
||||
import be.vandewalleh.aoc.utils.factory.Days;
|
||||
import be.vandewalleh.aoc.utils.input.Day;
|
||||
import be.vandewalleh.aoc.utils.input.Input;
|
||||
import be.vandewalleh.aoc.utils.input.Text;
|
||||
|
||||
import java.util.Arrays;
|
||||
@@ -21,8 +20,8 @@ public class Day04 {
|
||||
private final int min;
|
||||
private final int max;
|
||||
|
||||
public Day04(@Text Input<String> input) {
|
||||
var spl = input.getValue().split("-", 2);
|
||||
public Day04(@Text String input) {
|
||||
var spl = input.split("-", 2);
|
||||
min = Integer.parseInt(spl[0]);
|
||||
max = Integer.parseInt(spl[1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user