This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new a7c8e6c CAMEL-15403: Fixed CS a7c8e6c is described below commit a7c8e6cd272f625c88755a8c72de7fe06bc79131 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.