summaryrefslogtreecommitdiffstats
path: root/appc-adapters
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-11-28 10:00:26 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-11-28 10:00:52 +0530
commitc5138bc635e630d9727597098e5e60d3e35930f2 (patch)
tree9768a978c18126c3f79779e49bf997419c545e10 /appc-adapters
parent87362a739a8df45e42daf61aff0dd9e3a55e8990 (diff)
Sonar Fix: AnsibleResult.java
Fixed sonar issues/code-smells across the file. Issue-ID: APPC-1250 Change-Id: I9adca61255c1e20094bf992bfa1430ee4af50528 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'appc-adapters')
-rw-r--r--appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleResult.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleResult.java b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleResult.java
index eef46826c..de6b180ef 100644
--- a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleResult.java
+++ b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/model/AnsibleResult.java
@@ -35,14 +35,6 @@ public class AnsibleResult {
private String results;
private String output;
- public String getOutput() {
- return output;
- }
-
- public void setOutput(String output) {
- this.output = output;
- }
-
public AnsibleResult() {
this(-1, EMPTY_VALUE, EMPTY_VALUE);
}
@@ -64,6 +56,14 @@ public class AnsibleResult {
output = outputData;
}
+ public String getOutput() {
+ return output;
+ }
+
+ public void setOutput(String output) {
+ this.output = output;
+ }
+
public void setStatusCode(int code) {
this.statusCode = code;
}