aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-08-08 13:16:50 +0530
committerThugutla Sai Lakshmi <tsaila10@in.ibm.com>2019-08-08 13:33:25 +0000
commit912373fa73568ddd7a28c703dce2f763c8644cd7 (patch)
treeaaf6bf02a9e8b2faea3ad08b5b78e5a22c0deabd
parent34f413dcc03e5ca582b694463196b7e21ca72bf9 (diff)
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 <tsaila10@in.ibm.com>
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/asdc/beans/tosca/Input.java27
1 files changed, 14 insertions, 13 deletions
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<Property> 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<Property> 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.
*/