Replace the type specification in this constructor call with the diamond operator
Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=CRITICAL%2CMAJOR
Location:DcaeServiceTypesApiServiceImpl.java:L96
Change-Id: If36e27e862ee2d8db4c2f2b9def49afa88cf9632
Issue-ID: DCAEGEN2-284
Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
sb.append("dcae_service_types");
}
- List<String> whereClauses = new ArrayList<String>();
+ List<String> whereClauses = new ArrayList<>();
if (typeName != null) {
whereClauses.add(":typeName = type_name");