diff options
author | 2018-09-24 12:10:55 +0530 | |
---|---|---|
committer | 2018-09-24 12:10:55 +0530 | |
commit | d386ba36ca23b3cef9d5bcfe65e0e3f6501cda5b (patch) | |
tree | 69c2f75433896fbd53e8ea8f55062739b0a94bbd /src/main/java/com/att/dmf | |
parent | c8285dfb45759949830ea13be4073f0e295aada9 (diff) |
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 <ss00493505@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att/dmf')
-rw-r--r-- | src/main/java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> set = new TreeSet<String> (); + final TreeSet<String> set = new TreeSet<>(); for ( int i=0; i<a.length (); i++ ) { set.add ( a.getString ( i )); |