LANG-1427: Add SystemUtils.isJavaVersionAtMost(JavaVersion)
Fix checkstyle violations.
This commit is contained in:
parent
e21cb463c0
commit
a48d045709
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue