diff options
author | Murali Mohan Murthy Potham <murali.p@huawei.com> | 2017-09-19 05:35:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-19 05:35:43 +0000 |
commit | 92edf1212bac13e53f7d11fbeea2f5f785337801 (patch) | |
tree | bcb5b8ee043a11996ecc698e981b1da519662ac0 | |
parent | 6ad6a306b317fd8d8408b49c5cd653a55e344352 (diff) | |
parent | 7db2dcf63820f4f7a71b62ab6ab888a5c691aa3a (diff) |
Merge "fix patch 13"
-rw-r--r-- | vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/common/RestUtil.java | 7 |
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(); } } + |