aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2019-01-23 11:26:03 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2019-01-23 11:26:03 +0530
commit4258ab4a2c2e3b8d90d79ef2d01067f26809241d (patch)
treeee6f665d6486d69f3450c8a49a62d5714d5f9f0d
parentba5e454f36c3f9ca6ddce4999aee3738cb58926b (diff)
Sonar majior issues
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRU32hFUzlqc5cJ&resolved=false&rules=squid%3AS2293&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/client/impl/MRMetaClient.java Line No-54 Change-Id: Ib8609e70e26ce817813e2b5017e4792751bb5071 Issue-ID: DMAAP-992 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
-rw-r--r--src/main/java/org/onap/dmaap/mr/client/impl/MRMetaClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/client/impl/MRMetaClient.java b/src/main/java/org/onap/dmaap/mr/client/impl/MRMetaClient.java
index 9051b99..04b26d5 100644
--- a/src/main/java/org/onap/dmaap/mr/client/impl/MRMetaClient.java
+++ b/src/main/java/org/onap/dmaap/mr/client/impl/MRMetaClient.java
@@ -51,7 +51,7 @@ public class MRMetaClient extends MRBaseClient implements MRTopicManager, MRIden
@Override
public Set<String> getTopics () throws IOException
{
- final TreeSet<String> set = new TreeSet<String> ();
+ final TreeSet<String> set = new TreeSet<> ();
try
{
final JSONObject topicSet = get ( "/topics" );