bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1394401 - /bval/trunk/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java
Date Fri, 05 Oct 2012 08:02:29 GMT
Author: mbenson
Date: Fri Oct  5 08:02:29 2012
New Revision: 1394401

URL: http://svn.apache.org/viewvc?rev=1394401&view=rev
Log:
restore cast that certain compilers seem to like

Modified:
    bval/trunk/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java

Modified: bval/trunk/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java
URL: http://svn.apache.org/viewvc/bval/trunk/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java?rev=1394401&r1=1394400&r2=1394401&view=diff
==============================================================================
--- bval/trunk/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java (original)
+++ bval/trunk/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java Fri Oct
 5 08:02:29 2012
@@ -78,7 +78,7 @@ public abstract class FeaturesCapable im
      * @return T
      */
     public <T> T getFeature(String key) {
-        return getFeature(key, null);
+        return getFeature(key, (T) null);
     }
 
     /**



Mime
View raw message