summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-09-06 15:31:05 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-09-06 15:31:38 +0530
commit377b40780d6af658c2df31fb40647dcaee987553 (patch)
treedc7b21db5f9862d551812ef585ff570f89456558 /src
parent64605542cc49e3d8e0829782b8b304a5c1f39c9d (diff)
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 <arundpil@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/dmf/mr/CambriaApiException.java10
1 files changed, 5 insertions, 5 deletions
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;
}