From 377b40780d6af658c2df31fb40647dcaee987553 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Thu, 6 Sep 2018 15:31:05 +0530 Subject: CambriaApiException.java: Fixed sonar issues Fixed sonar code-smells/issues across this file. Issue-ID: DMAAP-743 Change-Id: I936ae1740eff5b8fccd37eefdc073ad6c56d3cd3 Signed-off-by: Arundathi Patil --- src/main/java/com/att/dmf/mr/CambriaApiException.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/main/java/com/att/dmf/mr/CambriaApiException.java b/src/main/java/com/att/dmf/mr/CambriaApiException.java index 84dd32c..cdf95ab 100644 --- a/src/main/java/com/att/dmf/mr/CambriaApiException.java +++ b/src/main/java/com/att/dmf/mr/CambriaApiException.java @@ -28,8 +28,12 @@ import com.att.nsa.apiServer.NsaAppException; public class CambriaApiException extends NsaAppException { + /* + * defined long type constant serialVersionUID + */ + private static final long serialVersionUID = 1L; - private ErrorResponse errRes; + private transient ErrorResponse errRes; /** * Implements constructor CambriaApiException * @param jsonObject @@ -66,10 +70,6 @@ public class CambriaApiException extends NsaAppException this.errRes = errRes; } - /* - * defined long type constant serialVersionUID - */ - private static final long serialVersionUID = 1L; public ErrorResponse getErrRes() { return errRes; } -- cgit 1.2.3-korg