Correction des warning de Eclipse
Des types génériques étaient déclarés de façon redondante.
This commit is contained in:
@@ -37,7 +37,7 @@ public class Main {
|
||||
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) {
|
||||
List<Byte> bytes = new ArrayList<Byte>();
|
||||
List<Byte> bytes = new ArrayList<>();
|
||||
|
||||
byte b;
|
||||
try {
|
||||
|
Reference in New Issue
Block a user