summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2018-02-07 15:32:41 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-07 15:32:41 +0000
commitbe4a1aa52a6dc81a797b10ab1abb55d390a29236 (patch)
tree024789a9805b60e64c8c9579b6bc951bd09df8e6 /src/main/java
parentbaed6ff82f9e3eba78fd7b983366bbd9de338a3d (diff)
parent1aea9b110935e7ebe66d83aa8feb2f65cbfdd17f (diff)
Merge "Sonar:Major"
Diffstat (limited to 'src/main/java')
-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..1f2c1b3 100644
--- a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
+++ b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
@@ -302,7 +302,7 @@ public class DcaeServicesApiServiceImpl extends DcaeServicesApiService {
// Watch! We have to query for services regardless of status because we need to account for "removed" instances
// that get resurrected.
final DCAEServiceObject serviceObjectFromStore = servicesDAO.getByServiceId(serviceId);
- final Map<String, DCAEServiceComponentObject> componentObjectsFromStore = new HashMap<String, DCAEServiceComponentObject>();
+ final Map<String, DCAEServiceComponentObject> componentObjectsFromStore = new HashMap<>();
for (DCAEServiceComponentObject componentObject : componentsDAO.getByServiceId(serviceId)) {
componentObjectsFromStore.put(componentObject.getComponentId(), componentObject);