From 3770ffefe2421e8511d0e487e8515f8c2feae7df Mon Sep 17 00:00:00 2001 From: KhemrajSingh Rathore Date: Wed, 28 Aug 2024 15:10:34 +0530 Subject: [PATCH] Update DynamicRuleMerger.scala --- .../scala/ai/privado/inputprocessor/DynamicRuleMerger.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/scala/ai/privado/inputprocessor/DynamicRuleMerger.scala b/src/main/scala/ai/privado/inputprocessor/DynamicRuleMerger.scala index 3dfdfb14e..453d26942 100644 --- a/src/main/scala/ai/privado/inputprocessor/DynamicRuleMerger.scala +++ b/src/main/scala/ai/privado/inputprocessor/DynamicRuleMerger.scala @@ -17,9 +17,7 @@ trait DynamicRuleMerger { try { val internalRuleMap = mutable.Map( - internalSinkRules - .filter(rule => rule.domains.nonEmpty && rule.name.nonEmpty) - .map(rule => ((rule.domains.headOption.get, rule.name, rule.filterProperty), rule)): _* + internalSinkRules.map(rule => ((rule.domains.headOption.get, rule.name, rule.filterProperty), rule))* ) externalSinkRules.foreach { externalRule =>