Move this constructor to comply with Java Code Conventions 79/94079/1
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Thu, 22 Aug 2019 07:40:45 +0000 (13:10 +0530)
committerThugutla sailakshmi <tsaila10@in.ibm.com>
Thu, 22 Aug 2019 07:41:13 +0000 (13:11 +0530)
Move this constructor to comply with Java Code Conventions

Issue-ID: VID-561
Change-Id: I3641f897f191dc8717bf65fefd4fd2c699f7195b
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
vid-app-common/src/main/java/org/onap/vid/model/aaiTree/RelatedVnf.java

index febd8e0..f5c1428 100644 (file)
@@ -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) {