projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use diamond operator
[jFCPlib.git]
/
src
/
test
/
java
/
net
/
pterodactylus
/
fcp
/
fake
/
TextSocket.java
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
(file)
--- 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<String> collectUntil(Matcher<String> lineMatcher) throws IOException {
}
public List<String> collectUntil(Matcher<String> lineMatcher) throws IOException {
- List<String> collectedLines = new ArrayList<
String
>();
+ List<String> collectedLines = new ArrayList<>();
while (true) {
String line = readLine();
if (line == null) {
while (true) {
String line = readLine();
if (line == null) {