diff --git a/src/main/java/fr/pandacube/java/logviewer/Main.java b/src/main/java/fr/pandacube/java/logviewer/Main.java index 7790e77..d959bd0 100644 --- a/src/main/java/fr/pandacube/java/logviewer/Main.java +++ b/src/main/java/fr/pandacube/java/logviewer/Main.java @@ -37,7 +37,7 @@ public class Main { return; } - CircularFifoQueue lineBuffer = new CircularFifoQueue(100); + CircularFifoQueue lineBuffer = new CircularFifoQueue<>(100); @@ -102,7 +102,7 @@ public class Main { public static String readUTF8LineFromFile(RandomAccessFile reader) { - List bytes = new ArrayList(); + List bytes = new ArrayList<>(); byte b; try {