diff options
-rw-r--r-- | src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java b/src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java index dc9d555..5c06383 100644 --- a/src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java +++ b/src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java @@ -348,7 +348,7 @@ public class MRClientFactory { */ public static MRBatchingPublisher createBatchingPublisher(String[] hostSet, String topic, int maxBatchSize, long maxAgeMs, boolean compress) { - final TreeSet<String> hosts = new TreeSet<String>(); + final TreeSet<String> hosts = new TreeSet<>(); for (String hp : hostSet) { hosts.add(hp); } |