commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1712407 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/TransformerRegistry.java
Date Tue, 03 Nov 2015 21:00:51 GMT
Author: britter
Date: Tue Nov  3 21:00:51 2015
New Revision: 1712407

URL: http://svn.apache.org/viewvc?rev=1712407&view=rev
Log:
Wildcard type arguments don't need to explictly extend object

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=1712407&r1=1712406&r2=1712407&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
Tue Nov  3 21:00:51 2015
@@ -131,13 +131,13 @@ public class TransformerRegistry {
      *            list implementation containing transformers.
      */
     public void registerAll(
-            Collection<Transformer<? extends Object, ? extends Object>> transformerList)
{
+            Collection<Transformer<?, ?>> transformerList) {
         checkNotNull(transformerList, "Transformer list must not be null!");
         checkArgument(!transformerList.isEmpty(), "Transformer list must not be empty!");
 
         // TODO if transformer is already registered overwrite ?? or do not
         // allow overwriting
-        for (Transformer<? extends Object, ? extends Object> transformer : transformerList)
{
+        for (Transformer<?, ?> transformer : transformerList) {
             register(transformer);
         }
     }



Mime
View raw message