summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-common/src
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2019-07-09 15:21:36 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-09 15:21:36 +0000
commit92a3adbd8eb1a892290f6b11d5e62bd4bd8ba0ff (patch)
tree0f82136f2e8dfb84b9fe89ec997a11ffbac5942c /ecomp-sdk/epsdk-app-common/src
parentfe954c08d9eed15a30f76d7271523170a60dcc97 (diff)
parent217b8d6008f2c747483a2329e0a686349dd27fd6 (diff)
Merge "Fix sonar issues in SecurityXssValidator"
Diffstat (limited to 'ecomp-sdk/epsdk-app-common/src')
-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