This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit f10cab0ab6f8dbc9f81e6441ab0aefc21f08ff80 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Wed May 15 13:53:45 2024 +0200 (chores) camel-test-junit5: duplicated code cleanup --- .../src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java index d38f7893fae..2ef7f8fdc98 100644 --- a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java +++ b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java @@ -582,7 +582,7 @@ public abstract class CamelTestSupport } private boolean isRouteCoverageEnabled() { - return System.getProperty(ROUTE_COVERAGE_ENABLED, "false").equalsIgnoreCase("true") || isDumpRouteCoverage(); + return Boolean.parseBoolean(System.getProperty(ROUTE_COVERAGE_ENABLED, "false")) || isDumpRouteCoverage(); } @AfterEach