diff options
-rw-r--r-- | src/main/java/org/onap/dmaap/mr/client/MRClientBuilders.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/client/MRClientBuilders.java b/src/main/java/org/onap/dmaap/mr/client/MRClientBuilders.java index 2c3101b..abf3736 100644 --- a/src/main/java/org/onap/dmaap/mr/client/MRClientBuilders.java +++ b/src/main/java/org/onap/dmaap/mr/client/MRClientBuilders.java @@ -208,7 +208,7 @@ public class MRClientBuilders */ public PublisherBuilder usingHosts ( String[] hostSet ) { - final TreeSet<String> hosts = new TreeSet<String> (); + final TreeSet<String> hosts = new TreeSet<> (); for ( String hp : hostSet ) { hosts.add ( hp ); |