summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-08-07 13:44:02 +0200
committerManoop Talasila <talasila@research.att.com>2019-08-13 18:28:45 +0000
commit14ea89a3f2093236abb4dc1ff61122ad27c37ad6 (patch)
tree8ee699d15c48dc93332b30a86b3ed39e8d7202a8
parentbbb902fece0bdb7c12f1520aee1a7c37cba6e809 (diff)
Fix sonar issues in ValidationException
Change-Id: I1dc2028f22857f7e96918f4a609f0c9ba10934fc Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com> (cherry picked from commit 6afc5be6afa49778588eff9cc8f92c4d3c24687b)
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java
index a435bdf8..9eeca6ab 100644
--- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java
+++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java
@@ -38,14 +38,16 @@
package org.onap.portalsdk.analytics.error;
public class ValidationException extends RaptorRuntimeException {
- private String fieldID = null;
+ private final String fieldID;
public ValidationException(String message) {
super(message);
+ fieldID = null;
}
public ValidationException(String message, Throwable ex) {
super(message, ex);
+ fieldID = null;
}
public ValidationException(String fieldID, String message) {