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>
* @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());
}