From: David ‘Bombe’ Roden Date: Sun, 5 Jul 2015 20:11:09 +0000 (+0200) Subject: Use diamond operator X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5f80d791d840300e127f06281d8c432a7071887d;p=jFCPlib.git Use diamond operator --- diff --git a/src/test/java/net/pterodactylus/fcp/fake/TextSocket.java b/src/test/java/net/pterodactylus/fcp/fake/TextSocket.java index c85f346..7a0ea94 100644 --- a/src/test/java/net/pterodactylus/fcp/fake/TextSocket.java +++ b/src/test/java/net/pterodactylus/fcp/fake/TextSocket.java @@ -46,7 +46,7 @@ class TextSocket implements Closeable { } public List collectUntil(Matcher lineMatcher) throws IOException { - List collectedLines = new ArrayList(); + List collectedLines = new ArrayList<>(); while (true) { String line = readLine(); if (line == null) {