diff options
author | 2018-03-14 14:35:38 +0800 | |
---|---|---|
committer | 2018-03-14 15:22:41 +0800 | |
commit | 56612b4a3ecc19481e5a3e9d1edb202a3a726066 (patch) | |
tree | b2452e9c3b6946d8a2b1450ec1365146c4ce36dc /sdc-workflow-designer-server/src/main/java/org | |
parent | 249d5131d866d2a20a7903b068438527f17c46e1 (diff) |
Remove lombok to fix license issues.
Remove lombok to fix license issues cheched by Nexus IQ Server.
Issue-ID: SDC-1127
Change-Id: I1a15d695e95e7a2c30fb4febdd3fea6ce95e768c
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-server/src/main/java/org')
-rw-r--r-- | sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/utils/entity/CommonErrorResponse.java | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/utils/entity/CommonErrorResponse.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/utils/entity/CommonErrorResponse.java index 59ffd602..5983a5a5 100644 --- a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/utils/entity/CommonErrorResponse.java +++ b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/utils/entity/CommonErrorResponse.java @@ -12,17 +12,10 @@ package org.onap.sdc.workflowdesigner.utils.entity; -import lombok.AllArgsConstructor; -import lombok.Data; -import lombok.NoArgsConstructor; - -@Data -@NoArgsConstructor -@AllArgsConstructor public class CommonErrorResponse { private String code; private String message; - + public static Object failure(String message) { return message; } @@ -32,4 +25,32 @@ public class CommonErrorResponse { this.message = message; } + /** + * @return the code + */ + public String getCode() { + return code; + } + + /** + * @param code the code to set + */ + public void setCode(String code) { + this.code = code; + } + + /** + * @return the message + */ + public String getMessage() { + return message; + } + + /** + * @param message the message to set + */ + public void setMessage(String message) { + this.message = message; + } + } |