commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [lang] [LANG-1365] Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_10, add JavaVersion.JAVA_10.
Date Sat, 04 Nov 2017 13:05:57 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 63f6be088 -> f746c508d


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

Fix check-style violations.


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/f746c508
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/f746c508
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/f746c508

Branch: refs/heads/master
Commit: f746c508d197c3662509037e8975a2a58b847689
Parents: 63f6be0
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Sat Nov 4 14:05:48 2017 +0100
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Sat Nov 4 14:05:48 2017 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/JavaVersion.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/f746c508/src/main/java/org/apache/commons/lang3/JavaVersion.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/JavaVersion.java b/src/main/java/org/apache/commons/lang3/JavaVersion.java
index 666624d..a074453 100644
--- a/src/main/java/org/apache/commons/lang3/JavaVersion.java
+++ b/src/main/java/org/apache/commons/lang3/JavaVersion.java
@@ -82,14 +82,14 @@ public enum JavaVersion {
 
     /**
      * Java 9
-     * 
+     *
      * @since 3.5
      */
     JAVA_9(9.0f, "9"),
 
     /**
      * Java 10
-     * 
+     *
      * @since 3.7
      */
     JAVA_10(10.0f, "10"),
@@ -103,6 +103,7 @@ public enum JavaVersion {
      * The float value.
      */
     private final float value;
+
     /**
      * The standard name.
      */


Mime
View raw message