summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>2018-02-01 14:35:23 +0530
committerTECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>2018-02-01 14:44:34 +0530
commit8f3e85cbd58302cb4b43e90152734172c927624a (patch)
tree125f8eb94168f65b7bbfa7428863c5095b84a6a0 /src
parent3a2703f01b5e0431ce390cd5e21f4b19d39fdded (diff)
Sonar Major
Replace the type specification with the diamond operator DcaeServicesApiServiceImpl.java Sonar link : https://sonar.onap.org/issues/search#resolved=false|assignees=__me__%2CBharathS24 Location : src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Change-Id: I86abc7e42167783ade5dfc3a98fa05e19c5ca81b Issue-ID: DCAEGEN2-290 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 bc1888f..1b2329f 100644
--- a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
+++ b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
@@ -76,7 +76,7 @@ public class DcaeServicesApiServiceImpl extends DcaeServicesApiService {
service.setVnfLocation(serviceObject.getVnfLocation());
service.setDeploymentRef(serviceObject.getDeploymentRef());
- List<DCAEServiceComponent> serviceComponents = new ArrayList<DCAEServiceComponent>();
+ List<DCAEServiceComponent> serviceComponents = new ArrayList<>();
for (DCAEServiceComponentObject sco : componentObjects) {
DCAEServiceComponent component = new DCAEServiceComponent();