diff options
author | burdziak <olaf.burdziakowski@nokia.com> | 2019-08-07 13:44:02 +0200 |
---|---|---|
committer | burdziak <olaf.burdziakowski@nokia.com> | 2019-08-07 13:44:02 +0200 |
commit | 6afc5be6afa49778588eff9cc8f92c4d3c24687b (patch) | |
tree | 1a82a82d0e897de7ef1adfb7acd3ef54c21fab4a | |
parent | 8b1abe6b2267047d26e0e6cee1c8c086dae95663 (diff) |
Fix sonar issues in ValidationException
Change-Id: I1dc2028f22857f7e96918f4a609f0c9ba10934fc
Issue-ID: PORTAL-523
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
-rw-r--r-- | ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/error/ValidationException.java | 4 |
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) { |