From 5f80d791d840300e127f06281d8c432a7071887d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 5 Jul 2015 22:11:09 +0200 Subject: [PATCH] Use diamond operator --- src/test/java/net/pterodactylus/fcp/fake/TextSocket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.7.4