From a71dcb7c4b402e4c572ef2ee7f3b1eb95dfeafbc Mon Sep 17 00:00:00 2001 From: Luis Pabon Date: Thu, 8 Aug 2024 13:48:44 -0400 Subject: [PATCH] Update etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/ruleengine/validation/ValidationRuleEngine.java Co-authored-by: halprin --- .../etor/ruleengine/validation/ValidationRuleEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/ruleengine/validation/ValidationRuleEngine.java b/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/ruleengine/validation/ValidationRuleEngine.java index f4e6163ef..209da7c72 100644 --- a/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/ruleengine/validation/ValidationRuleEngine.java +++ b/etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/ruleengine/validation/ValidationRuleEngine.java @@ -39,7 +39,7 @@ public void unloadRules() { public void ensureRulesLoaded() throws RuleLoaderException { if (!rulesLoaded) { synchronized (rules) { - if (rules.isEmpty()) { + if (!rulesLoaded) { InputStream resourceStream = getClass() .getClassLoader()