diff options
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp/sdc/be/info/RelationshipList.java')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/info/RelationshipList.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/info/RelationshipList.java b/catalog-be/src/main/java/org/openecomp/sdc/be/info/RelationshipList.java index f143e01a58..5191a4449d 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/info/RelationshipList.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/info/RelationshipList.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -17,7 +17,6 @@ * limitations under the License. * ============LICENSE_END========================================================= */ - package org.openecomp.sdc.be.info; import java.util.ArrayList; @@ -26,10 +25,11 @@ import lombok.Setter; @Setter public class RelationshipList { + private List<Relationship> relationship; public List<Relationship> getRelationship() { - if(relationship == null) { + if (relationship == null) { relationship = new ArrayList<>(); } return relationship; |