From 38f9250b5b447d03b153fbb56968f5da93ae2e81 Mon Sep 17 00:00:00 2001 From: Ankit-Huawei Date: Thu, 28 Sep 2017 11:25:21 +0530 Subject: Commenting for empty constructor SO-158 Change-Id: I1e67fff2c96efc6e79dca8facfd6f0b230c70cd4 Signed-off-by: Ankit-Huawei --- .../mso/apihandler/camundabeans/BpmnRequest.java | 17 +++++++---------- .../camundabeans/CamundaBpmnRequestInput.java | 2 +- .../mso/apihandler/camundabeans/CamundaInput.java | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) (limited to 'mso-api-handlers/mso-api-handler-common') diff --git a/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/BpmnRequest.java b/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/BpmnRequest.java index f63e12910c..27a310fd2d 100644 --- a/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/BpmnRequest.java +++ b/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/BpmnRequest.java @@ -40,11 +40,7 @@ import org.openecomp.mso.apihandler.common.CommonConstants; CommonConstants.REQUEST_DETAILS_VARIABLE}) @JsonRootName(CommonConstants.CAMUNDA_ROOT_INPUT) public class BpmnRequest { - - public BpmnRequest() { - - } - + @JsonProperty(CommonConstants.CAMUNDA_HOST) private CamundaInput host; @@ -89,8 +85,11 @@ public class BpmnRequest { @JsonProperty(CommonConstants.REQUEST_DETAILS_VARIABLE) private CamundaInput requestDetails; - - + + public BpmnRequest() { + /* Empty constructor */ + + } @JsonProperty(CommonConstants.CAMUNDA_HOST) public CamundaInput getHost() { @@ -246,9 +245,7 @@ public class BpmnRequest { @Override public String toString() { - //return "CamundaRequest [requestId=" + + ", host=" - // + host + ", schema=" + schema + ", reqid=" + reqid + ", svcid=" - // + svcid + ", timeout=" + timeout + "]"; + return "BpmnRequest"; } diff --git a/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/CamundaBpmnRequestInput.java b/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/CamundaBpmnRequestInput.java index 7c882bea1b..f73829688c 100644 --- a/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/CamundaBpmnRequestInput.java +++ b/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/CamundaBpmnRequestInput.java @@ -21,7 +21,6 @@ package org.openecomp.mso.apihandler.camundabeans; import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonRootName; import org.openecomp.mso.apihandler.common.CommonConstants; @@ -38,6 +37,7 @@ public class CamundaBpmnRequestInput { public CamundaBpmnRequestInput() { + /* Empty constructor */ } @JsonProperty(CommonConstants.CAMUNDA_VALUE) diff --git a/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/CamundaInput.java b/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/CamundaInput.java index 8a90db675c..0c69a76b14 100644 --- a/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/CamundaInput.java +++ b/mso-api-handlers/mso-api-handler-common/src/main/java/org/openecomp/mso/apihandler/camundabeans/CamundaInput.java @@ -22,7 +22,6 @@ package org.openecomp.mso.apihandler.camundabeans; import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonRootName; import org.openecomp.mso.apihandler.common.CommonConstants; @@ -42,6 +41,7 @@ public class CamundaInput { public CamundaInput() { + /* Empty constructor */ } @JsonProperty(CommonConstants.CAMUNDA_VALUE) -- cgit 1.2.3-korg