From 453831564d4af7eb7603a50a2d75505ad858db2b Mon Sep 17 00:00:00 2001 From: ayalaben Date: Thu, 4 Oct 2018 14:24:58 +0300 Subject: Entities are not ordered by Name user feedback Change-Id: I937b744c13d3cdf08a2ba23e365c7138494ac491 Issue-ID: SDC-1818 Signed-off-by: ayalaben --- .../java/org/openecomp/sdcrests/wrappers/GenericCollectionWrapper.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/wrappers/GenericCollectionWrapper.java b/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/wrappers/GenericCollectionWrapper.java index ebaba838eb..b73d2d93c5 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/wrappers/GenericCollectionWrapper.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/wrappers/GenericCollectionWrapper.java @@ -44,6 +44,9 @@ public class GenericCollectionWrapper implements Serializable { this.results = list; this.listCount = list.size(); } + else { + this.results = new ArrayList<>(); + } } public List getResults() { -- cgit 1.2.3-korg