File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
day01/src/main/java/de/havox_design/aoc2015/day01
utils/src/main/java/de/havox_design/aoc2015/utils Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44
55// project meta data
66group ' de.havox_design.aoc2015'
7- version ' 0.0.5 '
7+ version ' 0.0.6 '
88
99// Switch to gradle "all" distribution.
1010wrapper {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ public class MainClass {
66 private static final Logger LOGGER = Logger .getLogger (MainClass .class .getName ());
77
88 public static void main (String [] args ) {
9- LOGGER .info ("Solution 1: " + NotQuiteLisp .processTask1 ("day01.txt" ));
10- LOGGER .info ("Solution 2: " + NotQuiteLisp .processTask2 ("day01.txt" ));
9+ LOGGER .info (() -> "Solution 1: " + NotQuiteLisp .processTask1 ("day01.txt" ));
10+ LOGGER .info (() -> "Solution 2: " + NotQuiteLisp .processTask2 ("day01.txt" ));
1111 }
1212}
Original file line number Diff line number Diff line change 1313import java .util .List ;
1414
1515public class DataReader {
16- public static List <String > readData (String fileName , Class callingClass ) {
16+ private DataReader () {
17+ super ();
18+ }
19+
20+ public static List <String > readData (String fileName , Class <?> callingClass ) {
1721 try {
1822 URL url = ClassLoaderUtil .getResource (fileName , callingClass );
1923 Path path = Paths .get (url .toURI ());
You can’t perform that action at this time.
0 commit comments