diff options
author | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-24 12:31:59 +0530 |
---|---|---|
committer | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-24 12:31:59 +0530 |
commit | a57435f4f0491048a75f68231e95ab7744c9c176 (patch) | |
tree | d3ec3c696d2bfc5e9a563f54b2595e1f36512800 /src | |
parent | abee3032e0d0263ff6f97be0f9840f068c9efb9b (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-VakK32hFUzlqc5wd&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/service/impl/BaseTransactionDbImpl.java
Line No:L146
Change-Id: I0c11dcdb4a3a18fcd3f81777da9d950eeaa95ebd
Issue-ID: DMAAP-818
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/att/dmf/mr/service/impl/BaseTransactionDbImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/dmf/mr/service/impl/BaseTransactionDbImpl.java b/src/main/java/com/att/dmf/mr/service/impl/BaseTransactionDbImpl.java index a847f5f..104d7de 100644 --- a/src/main/java/com/att/dmf/mr/service/impl/BaseTransactionDbImpl.java +++ b/src/main/java/com/att/dmf/mr/service/impl/BaseTransactionDbImpl.java @@ -143,7 +143,7 @@ public class BaseTransactionDbImpl<K extends DMaaPTransactionObj> implements DMa * @throws ConfigDbException */ public synchronized Set<String> loadAllTransactionObjs() throws ConfigDbException { - final TreeSet<String> result = new TreeSet<String>(); + final TreeSet<String> result = new TreeSet<>(); for (ConfigPath cp : fDb.loadChildrenNames(fBasePath)) { result.add(cp.getName()); } |