diff options
author | Tony Hansen <tony@att.com> | 2018-02-06 14:36:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-06 14:36:16 +0000 |
commit | 866d2b46586f00abd3656726d08a4bebee7a5544 (patch) | |
tree | 1a1386d2096837dab13e401aa6723c42901e9025 /src/main | |
parent | 3b234f61498c039b1f32c8bf9d049e607a9dbe3d (diff) | |
parent | df907d967b89b09b5d8b3d5b2b16a22266fa5505 (diff) |
Merge "Sonar:Major"
Diffstat (limited to 'src/main')
-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 480e7af..78848bd 100644 --- a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java +++ b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java @@ -229,7 +229,7 @@ public class DcaeServicesApiServiceImpl extends DcaeServicesApiService { List<DCAEServiceObject> serviceObjectsSliced = serviceObjects.subList(offset, endpoint); DCAEServiceComponentsDAO componentsDAO = InventoryDAOManager.getInstance().getDCAEServiceComponentsDAO(); - List<DCAEService> services = new ArrayList<DCAEService>(); + List<DCAEService> services = new ArrayList<>(); for (DCAEServiceObject so : serviceObjectsSliced) { List<DCAEServiceComponentObject> components = componentsDAO.getByServiceId(so.getServiceId()); |