diff options
author | sunil unnava <su622b@att.com> | 2019-02-11 14:12:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-11 14:12:16 +0000 |
commit | ebcde5d635d5ceab258ce3aa2fbabef658a3ad0e (patch) | |
tree | 3d82c85aadf66c90eae446ea99221efa0c5e897f /src/main/java/org | |
parent | 64986f72ea27cc757612ccba38c628b6089119fa (diff) | |
parent | 211967cf8abd6eb0c39c19b52dc334f0a2359558 (diff) |
Merge "Sonar majior issues"
Diffstat (limited to 'src/main/java/org')
-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); } |