From d386ba36ca23b3cef9d5bcfe65e0e3f6501cda5b Mon Sep 17 00:00:00 2001 From: Sumapriya Sarvepalli Date: Mon, 24 Sep 2018 12:10:55 +0530 Subject: Sonar major issues 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 --- .../java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/att') diff --git a/src/main/java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java b/src/main/java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java index 80904ea..84576fc 100644 --- a/src/main/java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java +++ b/src/main/java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java @@ -71,7 +71,7 @@ public class CambriaBaseClient extends HttpClient implements com.att.dmf.mr.metr { if ( a == null ) return null; - final TreeSet set = new TreeSet (); + final TreeSet set = new TreeSet<>(); for ( int i=0; i