aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-PDP/src/main/java/org
diff options
context:
space:
mode:
authorrb7147 <rb7147@att.com>2018-02-01 16:29:04 -0500
committerrb7147 <rb7147@att.com>2018-02-02 11:54:06 -0500
commit0c8425b25c093f638351a14f84a7b1df731cd0de (patch)
tree2a65784b1e04711caae11bdde1bc35de52d35fd8 /ONAP-PDP/src/main/java/org
parente8c14515d3f48aad6d42a31d7489a3ef25557f2d (diff)
Resolved Fortify System Information Leak issues
Issue-ID: POLICY-550 Change-Id: I2145ecb6de43b69d6faf44c6395b119134a9904f Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'ONAP-PDP/src/main/java/org')
-rw-r--r--ONAP-PDP/src/main/java/org/onap/policy/xacml/custom/OnapFunctionDefinitionFactory.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/ONAP-PDP/src/main/java/org/onap/policy/xacml/custom/OnapFunctionDefinitionFactory.java b/ONAP-PDP/src/main/java/org/onap/policy/xacml/custom/OnapFunctionDefinitionFactory.java
index 87075f9bb..ea4e90eda 100644
--- a/ONAP-PDP/src/main/java/org/onap/policy/xacml/custom/OnapFunctionDefinitionFactory.java
+++ b/ONAP-PDP/src/main/java/org/onap/policy/xacml/custom/OnapFunctionDefinitionFactory.java
@@ -49,7 +49,7 @@ public class OnapFunctionDefinitionFactory extends FunctionDefinitionFactory {
}
private static void initMap() {
- if (needMapInit) {
+
synchronized(mapFunctionDefinitions) {
if (needMapInit) {
needMapInit = false;
@@ -74,7 +74,6 @@ public class OnapFunctionDefinitionFactory extends FunctionDefinitionFactory {
register(FD_CUSTOM_REGEXP_MATCH);
}
}
- }
}
public OnapFunctionDefinitionFactory() {