Replace the type specification in this constructor call with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VagX32hFUzlqc5sF&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java
Line No:L74
Change-Id: I36867d6bff2e6409710ecaa3aeeccb9ba7d60d2c
Issue-ID: DMAAP-816
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
{
if ( a == null ) return null;
- final TreeSet<String> set = new TreeSet<String> ();
+ final TreeSet<String> set = new TreeSet<>();
for ( int i=0; i<a.length (); i++ )
{
set.add ( a.getString ( i ));