aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-08-14 12:35:32 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-14 12:35:32 +0000
commit9efa71f87dab47b8f54327d9ba388a365df544ed (patch)
treed3eb4857afeb48ea59e5953f88ef73b88836c3b0
parent1e9288436bcfedeb57efaeef18e4c985466e9af5 (diff)
parent912373fa73568ddd7a28c703dce2f763c8644cd7 (diff)
Merge "Move this variable to comply with Java Code Conventions"
-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.
*/