[LANG-1365] Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_10, add JavaVersion.JAVA_10.

Fix check-style violations.
This commit is contained in:
pascalschumacher 2017-11-04 14:05:48 +01:00
parent 63f6be088d
commit f746c508d1
1 changed files with 3 additions and 2 deletions

View File

@ -82,14 +82,14 @@ public enum JavaVersion {
/** /**
* Java 9 * Java 9
* *
* @since 3.5 * @since 3.5
*/ */
JAVA_9(9.0f, "9"), JAVA_9(9.0f, "9"),
/** /**
* Java 10 * Java 10
* *
* @since 3.7 * @since 3.7
*/ */
JAVA_10(10.0f, "10"), JAVA_10(10.0f, "10"),
@ -103,6 +103,7 @@ public enum JavaVersion {
* The float value. * The float value.
*/ */
private final float value; private final float value;
/** /**
* The standard name. * The standard name.
*/ */