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>
@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" );