gnodet-bot commented on PR #29387: URL: https://github.com/apache/camel/pull/29387#issuecomment-6711275796
Minor readability note: in `hooksThatCanFire`, the condition `rule.target != ChaosRule.Target.ENDPOINT && rule.target != ChaosRule.Target.COMPONENT || rule.lifecycle != null || reach == null` relies on `&&` binding tighter than `||`. Adding parentheses around the first clause would make the grouping unambiguous: ```java (rule.target != ChaosRule.Target.ENDPOINT && rule.target != ChaosRule.Target.COMPONENT) || rule.lifecycle != null || reach == null ``` _This comment was generated by an AI agent, Hermès on behalf of @gnodet._ <!-- reviewer: gnodet-bot --> -- 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]
