summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumapriya Sarvepalli <ss00493505@techmahindra.com>2018-09-24 12:31:59 +0530
committerSumapriya Sarvepalli <ss00493505@techmahindra.com>2018-09-24 12:31:59 +0530
commita57435f4f0491048a75f68231e95ab7744c9c176 (patch)
treed3ec3c696d2bfc5e9a563f54b2595e1f36512800
parentabee3032e0d0263ff6f97be0f9840f068c9efb9b (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>
-rw-r--r--src/main/java/com/att/dmf/mr/service/impl/BaseTransactionDbImpl.java2
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());
}