This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new a48d045  LANG-1427: Add SystemUtils.isJavaVersionAtMost(JavaVersion)
a48d045 is described below

commit a48d045709e32af2d06aca82a355ee3409a6773c
Author: pascalschumacher <pascalschumac...@gmx.net>
AuthorDate: Thu Dec 20 14:26:28 2018 +0100

    LANG-1427: Add SystemUtils.isJavaVersionAtMost(JavaVersion)
    
    Fix checkstyle violations.
---
 src/test/java/org/apache/commons/lang3/SystemUtilsTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
index 82dcd14..53b46b3 100644
--- a/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
@@ -482,7 +482,7 @@ public class SystemUtilsTest {
             assertFalse(SystemUtils.isJavaVersionAtMost(JAVA_1_5));
             assertFalse(SystemUtils.isJavaVersionAtMost(JAVA_1_6));
             assertFalse(SystemUtils.isJavaVersionAtMost(JAVA_1_7));
-            assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_1_8));            
+            assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_1_8));
             assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_9));
             assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_10));
             assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_11));
@@ -495,7 +495,7 @@ public class SystemUtilsTest {
             assertFalse(SystemUtils.isJavaVersionAtMost(JAVA_1_6));
             assertFalse(SystemUtils.isJavaVersionAtMost(JAVA_1_7));
             assertFalse(SystemUtils.isJavaVersionAtMost(JAVA_1_8));
-            assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_9));            
+            assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_9));
             assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_10));
             assertTrue(SystemUtils.isJavaVersionAtMost(JAVA_11));
         } else if (SystemUtils.IS_JAVA_10) {

Reply via email to