ChinchuAjith opened a new pull request, #6537: URL: https://github.com/apache/incubator-kie-drools/pull/6537
Fixes https://github.com/apache/incubator-kie-issues/issues/2173 **Description** This change removes the direct dependency on FEELDialect inside the BooleanEvalHelper class. Instead of hard‑coding dialect‑specific behavior, equality and comparison methods now accept Supplier<Boolean> parameters (nullFallback and defaultFallback) to determine the outcome in indeterminate cases. This makes BooleanEvalHelper dialect‑agnostic and shifts responsibility for dialect semantics to the handler layer (FEEL vs BFEEL). **Key Changes** - Decouple FeelDialect dependency for the methods inside the BooleanEvalHelper.java - Updated FEEL handlers to pass () -> null for both fallbacks (spec‑compliant unknown semantics). - Updated BFEEL handlers to pass () -> Boolean.FALSE for both fallbacks - Introduced shortcut rules for special cases: - null = null → true - null != null → false - Preserves short‑circuit behavior for AND and OR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
