summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2019-08-13 18:28:38 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-13 18:28:38 +0000
commit0507ea4cb82985e8bf13cf78f7763e4081ad2d5b (patch)
tree8ee699d15c48dc93332b30a86b3ed39e8d7202a8
parent603974c5470a7e802d82ab008a675cd9533243d2 (diff)
parent6afc5be6afa49778588eff9cc8f92c4d3c24687b (diff)
Merge "Fix sonar issues in ValidationException"
-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) {