From 693cc828c23bdfd10d0bb42e8caf5d9cb6c750b8 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Thu, 21 Nov 2013 02:27:03 +0000 Subject: [PATCH] Type arguments in OutNetMessage --- router/java/src/net/i2p/router/OutNetMessage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/router/java/src/net/i2p/router/OutNetMessage.java b/router/java/src/net/i2p/router/OutNetMessage.java index 7b1e17d3b4..eb9815c5a4 100644 --- a/router/java/src/net/i2p/router/OutNetMessage.java +++ b/router/java/src/net/i2p/router/OutNetMessage.java @@ -283,8 +283,8 @@ public class OutNetMessage implements CDPQEntry { _failedTransports.add(transportStyle); } - public synchronized Set getFailedTransports() { - return (_failedTransports == null ? Collections.EMPTY_SET : _failedTransports); + public synchronized Set<String> getFailedTransports() { + return (_failedTransports == null ? Collections.<String> emptySet() : _failedTransports); } /** when did the sending process begin */ -- GitLab