diff options
author | Tony Hansen <tony@att.com> | 2018-02-07 15:32:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-07 15:32:41 +0000 |
commit | be4a1aa52a6dc81a797b10ab1abb55d390a29236 (patch) | |
tree | 024789a9805b60e64c8c9579b6bc951bd09df8e6 /src/main/java/io | |
parent | baed6ff82f9e3eba78fd7b983366bbd9de338a3d (diff) | |
parent | 1aea9b110935e7ebe66d83aa8feb2f65cbfdd17f (diff) |
Merge "Sonar:Major"
Diffstat (limited to 'src/main/java/io')
-rw-r--r-- | src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java | 2 |
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); |