You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/04/09 19:20:21 UTC

svn commit: r1311337 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/TransformerUtils.java

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);