commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1065198 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/JavaVersion.java
Date Sun, 30 Jan 2011 06:45:12 GMT
Author: bayard
Date: Sun Jan 30 06:45:12 2011
New Revision: 1065198

URL: http://svn.apache.org/viewvc?rev=1065198&view=rev
Log:
Fixing infinite recursion. Thankyou FindBugs

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/JavaVersion.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/JavaVersion.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/JavaVersion.java?rev=1065198&r1=1065197&r2=1065198&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/JavaVersion.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/JavaVersion.java Sun
Jan 30 06:45:12 2011
@@ -49,7 +49,7 @@ public enum JavaVersion {
 
     // helper for static importing
     static JavaVersion getJavaVersion(final String nom) {
-        return getJavaVersion(nom);
+        return get(nom);
     }
     static JavaVersion get(final String nom) {
         if("0.9".equals(nom)) {



Mime
View raw message