Correction des warning de Eclipse

Des types génériques étaient déclarés de façon redondante.
This commit is contained in:
Marc Baloup 2016-11-27 04:06:49 +01:00
parent 0a11c816d4
commit 42e77f1da0

View File

@ -37,7 +37,7 @@ public class Main {
return; return;
} }
CircularFifoQueue<String> lineBuffer = new CircularFifoQueue<String>(100); CircularFifoQueue<String> lineBuffer = new CircularFifoQueue<>(100);
@ -102,7 +102,7 @@ public class Main {
public static String readUTF8LineFromFile(RandomAccessFile reader) { public static String readUTF8LineFromFile(RandomAccessFile reader) {
List<Byte> bytes = new ArrayList<Byte>(); List<Byte> bytes = new ArrayList<>();
byte b; byte b;
try { try {