From 912373fa73568ddd7a28c703dce2f763c8644cd7 Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Thu, 8 Aug 2019 13:16:50 +0530 Subject: Move this variable to comply with Java Code Conventions Move this variable to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: I9c40a6165ece22bbfda29e17cdb8572a2b7d11e8 Signed-off-by: Thugutla sailakshmi --- .../java/org/onap/vid/asdc/beans/tosca/Input.java | 27 +++++++++++----------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'vid-app-common') diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.java b/vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.java index 7980ece5a..51766413f 100644 --- a/vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.java +++ b/vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.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. @@ -31,16 +32,11 @@ import java.util.List; * The Class Input. */ public class Input { - - public Input(org.onap.sdc.toscaparser.api.parameters.Input input, List properties){ - this.type = input.getType(); - this.description = input.getDescription(); - this._default = input.getDefault(); - this.inputProperties = new InputProperties(properties); - this.fromInputName = input.getName(); - } - - /** The type. */ + + /** The entry schema. */ + private Input entry_schema; + + /** The type. */ private String type; /** The description. */ @@ -48,9 +44,6 @@ public class Input { /** The default. */ private Object _default; - - /** The entry schema. */ - private Input entry_schema; private InputProperties inputProperties; @@ -68,6 +61,14 @@ public class Input { private String templateInvariantUUID; private String templateCustomizationUUID; + public Input(org.onap.sdc.toscaparser.api.parameters.Input input, List properties){ + this.type = input.getType(); + this.description = input.getDescription(); + this._default = input.getDefault(); + this.inputProperties = new InputProperties(properties); + this.fromInputName = input.getName(); + } + /** * Instantiates a new input. */ -- cgit 1.2.3-korg