From 2152a9a43767cdd486fd8c93894f66a05083f53c Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Wed, 5 May 2021 15:31:04 +0100 Subject: Support for selection of capabilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib1a3e3e1a59fc84c62620932c408e231acf77024 Issue-ID: SDC-3580 Signed-off-by: André Schmid --- .../main/java/org/openecomp/sdc/exception/ResponseFormat.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'common-app-api/src') diff --git a/common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java b/common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java index b0467425ec..2840ccd3b4 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/exception/ResponseFormat.java @@ -19,6 +19,8 @@ */ package org.openecomp.sdc.exception; +import lombok.Setter; + /** * Nested POJOs to express required JSON format of the error *

@@ -28,6 +30,7 @@ package org.openecomp.sdc.exception; */ public class ResponseFormat { + @Setter private int status; private RequestErrorWrapper requestErrorWrapper; @@ -40,10 +43,6 @@ public class ResponseFormat { this.status = status; } - public void setStatus(int status) { - this.status = status; - } - public Integer getStatus() { return status; } @@ -153,9 +152,6 @@ public class ResponseFormat { @SuppressWarnings("unused") private OkResponseInfo okResponseInfo; - public RequestError() { - } - public PolicyException getPolicyException() { return policyException; } -- cgit 1.2.3-korg