This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.4.x by this push: new 5e635a8 CAMEL-15403: Fixed CS 5e635a8 is described below commit 5e635a8f5bfc8224b6bf7ec6122c3f84afb855b8 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Aug 13 15:08:34 2020 +0200 CAMEL-15403: Fixed CS --- .../src/main/java/org/apache/camel/test/junit5/TestSupport.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/TestSupport.java b/components/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/TestSupport.java index 8a52781..a5c9469 100644 --- a/components/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/TestSupport.java +++ b/components/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/TestSupport.java @@ -512,8 +512,9 @@ public final class TestSupport { * @return <tt>true</tt> if its Java 1.8.0_261 and later, <tt>false</tt> if its not (for * example Java 1.8.0_251) */ + // CHECKSTYLE:OFF public static boolean isJava18_261_later() { - boolean ret = false; + boolean ret; String version = System.getProperty("java.version"); try { ret = version != null && version.startsWith("1.8.0_") @@ -523,7 +524,7 @@ public final class TestSupport { } return ret; } - + // CHECKSTYLE:ON /** * Tells whether the current Java version is 1.9.