Author: ggregory Date: Sat Oct 29 20:53:06 2011 New Revision: 1195031 URL: http://svn.apache.org/viewvc?rev=1195031&view=rev Log: [COLLECTIONS-384] Inconsistent Javadoc comment and code for synchronizedMap(Map) in org.apache.commons.collections.MapUtils.
Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/MapUtils.java Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/MapUtils.java URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/MapUtils.java?rev=1195031&r1=1195030&r2=1195031&view=diff ============================================================================== --- commons/proper/collections/trunk/src/java/org/apache/commons/collections/MapUtils.java (original) +++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/MapUtils.java Sat Oct 29 20:53:06 2011 @@ -1223,7 +1223,6 @@ public class MapUtils { * * @param map the map to synchronize, must not be null * @return a synchronized map backed by the given map - * @throws IllegalArgumentException if the map is null */ public static <K, V> Map<K, V> synchronizedMap(Map<K, V> map) { return Collections.synchronizedMap(map);