summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk')
-rw-r--r--ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/util/SecurityXssValidator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/util/SecurityXssValidator.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/util/SecurityXssValidator.java
index ef53d16e..69807a1c 100644
--- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/util/SecurityXssValidator.java
+++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/util/SecurityXssValidator.java
@@ -55,7 +55,7 @@ import org.owasp.esapi.codecs.OracleCodec;
public class SecurityXssValidator {
- private EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(SecurityXssValidator.class);
+ private static final EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(SecurityXssValidator.class);
private static final String MYSQL_DB = "mysql";
private static final String ORACLE_DB = "oracle";
@@ -172,7 +172,7 @@ public class SecurityXssValidator {
return flag;
}
- public Codec getCodec() {
+ public static Codec getCodec() {
try {
if (null == instance) {
if (StringUtils