aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>2018-02-06 14:25:20 +0530
committerTECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>2018-02-06 14:26:23 +0530
commit716b8de45f0f5983ce9eb8cb618ed0a8859e029c (patch)
tree09f47891e367b023227351c54dfe9f5226249b75 /src
parentdbc8f2fc052da2f8a017990774f27f24c18241ca (diff)
Sonar:Major
Replace type specification with diamond operator DcaeServiceTypesApiServiceImpl.java:L153 Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=BharathS24 Location : src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Change-Id: Ifa03875c154958004b41ed780f533f28093fa74e Issue-ID: DCAEGEN2-311 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
index fe938f1..480e7af 100644
--- a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
+++ b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
@@ -150,7 +150,7 @@ public class DcaeServicesApiServiceImpl extends DcaeServicesApiService {
sb.append(" join dcae_services_components_maps m on ds.service_id = m.service_id ");
sb.append(" join dcae_service_components dsc on m.component_id = dsc.component_id");
- List<String> whereClauses = new ArrayList<String>();
+ List<String> whereClauses = new ArrayList<>();
if (typeId != null) {
whereClauses.add("ds.type_id = :typeId");