commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1620431 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/TransformerRegistry.java
Date Mon, 25 Aug 2014 20:52:18 GMT
Author: britter
Date: Mon Aug 25 20:52:18 2014
New Revision: 1620431

URL: http://svn.apache.org/r1620431
Log:
Help cast to Type to prvent StackOverFlow

Modified:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/TransformerRegistry.java

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/TransformerRegistry.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/TransformerRegistry.java?rev=1620431&r1=1620430&r2=1620431&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/TransformerRegistry.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/TransformerRegistry.java
Mon Aug 25 20:52:18 2014
@@ -168,7 +168,7 @@ public class TransformerRegistry {
      *         otherwise
      */
     public <S, T> boolean deregister(Class<S> sourceType, Class<T> targetType)
{
-        return deregister(sourceType, targetType);
+        return deregister((Type) sourceType, (Type) targetType);
     }
 
     /**



Mime
View raw message