[COLLECTIONS-384] Inconsistent Javadoc comment and code for synchronizedMap(Map) in org.apache.commons.collections.MapUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1195031 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f478980123
commit
d51a9262f2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue