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-MbU432hFUzlqc5hp&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/nsa/mr/tools/MRCommandContext.java
Line No- L39 L65
Change-Id: Ia158fb6890cfd5e5d8675ee144ca3119e097cb89
Issue-ID: DMAAP-630
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
fApiKey = null;
fApiPwd = null;
- fCluster = new LinkedList<String> ();
+ fCluster = new LinkedList<> ();
fCluster.add ( "localhost" );
}
public Collection<String> getCluster ()
{
- return new LinkedList<String> ( fCluster );
+ return new LinkedList<> ( fCluster );
}
public void clearCluster ()