summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/vnf-sdk-marketplace
diff options
context:
space:
mode:
authorMurali Mohan Murthy Potham <murali.p@huawei.com>2017-09-19 05:35:43 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-19 05:35:43 +0000
commit92edf1212bac13e53f7d11fbeea2f5f785337801 (patch)
treebcb5b8ee043a11996ecc698e981b1da519662ac0 /vnfmarket-be/vnf-sdk-marketplace
parent6ad6a306b317fd8d8408b49c5cd653a55e344352 (diff)
parent7db2dcf63820f4f7a71b62ab6ab888a5c691aa3a (diff)
Merge "fix patch 13"
Diffstat (limited to 'vnfmarket-be/vnf-sdk-marketplace')
-rw-r--r--vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/common/RestUtil.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/common/RestUtil.java b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/common/RestUtil.java
index 557428d6..ea157ace 100644
--- a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/common/RestUtil.java
+++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/common/RestUtil.java
@@ -19,16 +19,17 @@ import javax.ws.rs.core.Response;
public class RestUtil {
-
+ private RestUtil() {
+ }
/**
* get rest exception.
* @param errorMsg error message
* @return Response
*/
public static Response getRestException(String errorMsg) {
- String code = "001";
return Response.status(Response.Status.INTERNAL_SERVER_ERROR)
- .entity(new CommonErrorResponse(errorMsg)).build();
+ .entity(new CommonErrorResponse(errorMsg)).build();
}
}
+