commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1311337 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/TransformerUtils.java
Date Mon, 09 Apr 2012 17:20:21 GMT
Author: tn
Date: Mon Apr  9 17:20:21 2012
New Revision: 1311337

URL: http://svn.apache.org/viewvc?rev=1311337&view=rev
Log:
[COLLECTIONS-389] Fixed javadoc, thanks to Shin Hwei Tan.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/TransformerUtils.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/TransformerUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/TransformerUtils.java?rev=1311337&r1=1311336&r2=1311337&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/TransformerUtils.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/TransformerUtils.java
Mon Apr  9 17:20:21 2012
@@ -393,8 +393,7 @@ public class TransformerUtils {
      * @see org.apache.commons.collections.functors.MapTransformer
      * 
      * @param map  the map to use to transform the objects
-     * @return the transformer
-     * @throws IllegalArgumentException if the map is null
+     * @return the transformer, or a {@link ConstantTransformer#NULL_INSTANCE} if the {@code
map} is {@code null}
      */
     public static <I, O> Transformer<I, O> mapTransformer(Map<? super I, ?
extends O> map) {
         return MapTransformer.mapTransformer(map);



Mime
View raw message