From 0093ff30ca03829a4f55fe1dd9f31d101140a0f4 Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Thu, 22 Aug 2019 13:10:45 +0530 Subject: Move this constructor to comply with Java Code Conventions Move this constructor to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: I3641f897f191dc8717bf65fefd4fd2c699f7195b Signed-off-by: Thugutla sailakshmi --- .../src/main/java/org/onap/vid/model/aaiTree/RelatedVnf.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'vid-app-common/src') diff --git a/vid-app-common/src/main/java/org/onap/vid/model/aaiTree/RelatedVnf.java b/vid-app-common/src/main/java/org/onap/vid/model/aaiTree/RelatedVnf.java index febd8e0fd..f5c1428fe 100644 --- a/vid-app-common/src/main/java/org/onap/vid/model/aaiTree/RelatedVnf.java +++ b/vid-app-common/src/main/java/org/onap/vid/model/aaiTree/RelatedVnf.java @@ -3,6 +3,7 @@ * VID * ================================================================================ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +31,10 @@ public class RelatedVnf extends Node { private String serviceInstanceName; private String tenantName; + public RelatedVnf(AAITreeNode node) { + super(node); + } + public String getServiceInstanceId() { return serviceInstanceId; } @@ -54,10 +59,6 @@ public class RelatedVnf extends Node { this.tenantName = tenantName; } - public RelatedVnf(AAITreeNode node) { - super(node); - } - public static RelatedVnf from(AAITreeNode node) { RelatedVnf vnf = new RelatedVnf(node); if (node.getParent() != null && node.getParent().getType() == NodeType.SERVICE_INSTANCE) { -- cgit 1.2.3-korg