aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorPooja03 <PM00501616@techmahindra.com>2018-01-29 17:26:22 +0530
committerPooja03 <PM00501616@techmahindra.com>2018-01-29 17:26:22 +0530
commit8c3fa86a00205f9f2fac90b0580b70d78c4dd59d (patch)
treeaa8ea22f2c762257a474658e17d86f28cb9fbc58 /src/main
parentb7b7971d7451c3d838d6c72f5dd2737043ce1501 (diff)
Sonar Major fix
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>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java b/src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java
index 696cd87..b478edf 100644
--- a/src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java
+++ b/src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java
@@ -93,7 +93,7 @@ public class DcaeServiceTypesApiServiceImpl extends DcaeServiceTypesApiService {
sb.append("dcae_service_types");
}
- List<String> whereClauses = new ArrayList<String>();
+ List<String> whereClauses = new ArrayList<>();
if (typeName != null) {
whereClauses.add(":typeName = type_name");