This is an automated email from the ASF dual-hosted git repository. luigidemasi pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kit.git
commit 4c6114c26871c1f1d5bf181f690cf6d7e3d5df60 Author: Jinal Sarvaiya <[email protected]> AuthorDate: Fri Nov 27 11:01:51 2026 +0000 Address review --- .../apache/camel/kit/brainstorm/InterfaceContractDiscoveryTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kit/camel-kit-core/src/test/java/org/apache/camel/kit/brainstorm/InterfaceContractDiscoveryTest.java b/kit/camel-kit-core/src/test/java/org/apache/camel/kit/brainstorm/InterfaceContractDiscoveryTest.java index c13a65b3..944712a7 100644 --- a/kit/camel-kit-core/src/test/java/org/apache/camel/kit/brainstorm/InterfaceContractDiscoveryTest.java +++ b/kit/camel-kit-core/src/test/java/org/apache/camel/kit/brainstorm/InterfaceContractDiscoveryTest.java @@ -2,6 +2,7 @@ package org.apache.camel.kit.brainstorm; import java.nio.file.Files; import java.nio.file.Path; +import java.util.Locale; import java.util.regex.Pattern; import org.junit.jupiter.api.DisplayName; @@ -655,7 +656,7 @@ class InterfaceContractDiscoveryTest { "Q7a must defer mappings when either endpoint has designed status without artifact"); // Must NOT have inverted logic like "proceed when both pending" or "defer when both ready" - String q7aLower = q7aSection.toLowerCase(); + String q7aLower = q7aSection.toLowerCase(Locale.ROOT); assertFalse(q7aLower.contains("proceed when both pending") || q7aLower.contains("proceed if both pending") || q7aLower.contains("both pending") && q7aLower.contains(" proceed"),
