summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>2018-02-07 14:29:47 +0530
committerTECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>2018-02-07 14:30:12 +0530
commit6a96be4360609a11cd2170a211798287d0bb139a (patch)
treec04e93524af5524f7aac4463e008d462ab96a721 /src
parent06ec2b0458b49a33beb44c27a35394abdd4ff9ed (diff)
Sonar:Major
Replace type specification with diamond operator DcaeServicesApiServiceImpl.java:L336 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: Iacbc9f6fefe15850beea5611915b936ba73ec57d Issue-ID: DCAEGEN2-316 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 65c9d4f..df1207a 100644
--- a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
+++ b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
@@ -333,7 +333,7 @@ public class DcaeServicesApiServiceImpl extends DcaeServicesApiService {
// 2) Insert/update DCAEServiceComponentObjects. Components exist independent of the associated DCAE service.
- Map<String, DCAEServiceComponentObject> componentObjectsToSendBack = new HashMap<String, DCAEServiceComponentObject>();
+ Map<String, DCAEServiceComponentObject> componentObjectsToSendBack = new HashMap<>();
for (DCAEServiceComponentRequest requestComponent : request.getComponents()) {
// Have to query the database rather than checking the result of getting by service id because of the