From 56612b4a3ecc19481e5a3e9d1edb202a3a726066 Mon Sep 17 00:00:00 2001 From: YuanHu Date: Wed, 14 Mar 2018 14:35:38 +0800 Subject: 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 --- sdc-workflow-designer-server/pom.xml | 14 ++------ .../utils/entity/CommonErrorResponse.java | 37 +++++++++++++++++----- 2 files changed, 32 insertions(+), 19 deletions(-) diff --git a/sdc-workflow-designer-server/pom.xml b/sdc-workflow-designer-server/pom.xml index 2a78f76f..98733c90 100644 --- a/sdc-workflow-designer-server/pom.xml +++ b/sdc-workflow-designer-server/pom.xml @@ -27,13 +27,12 @@ 2.9.1 - 1.6.2 + 1.7 4.10 - 1.2.3 - 1.5.3 + 1.2.4 + 1.5.18 2.16 2.4 - 1.16.4 @@ -147,13 +146,6 @@ ${commons-io.version} - - - org.projectlombok - lombok - ${lombok.version} - - com.fasterxml.jackson.core jackson-core 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; + } + } -- cgit 1.2.3-korg