commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1685310 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MultiMapUtils.java
Date Sat, 13 Jun 2015 19:38:33 GMT
Author: tn
Date: Sat Jun 13 19:38:32 2015
New Revision: 1685310

URL: http://svn.apache.org/r1685310
Log:
Revert to returning null.

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

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MultiMapUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MultiMapUtils.java?rev=1685310&r1=1685309&r2=1685310&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MultiMapUtils.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/MultiMapUtils.java
Sat Jun 13 19:38:32 2015
@@ -18,7 +18,6 @@ package org.apache.commons.collections4;
 
 import java.util.ArrayList;
 import java.util.Collection;
-import java.util.Collections;
 import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
@@ -111,7 +110,7 @@ public class MultiMapUtils {
         if (map != null) {
             return map.get(key);
         }
-        return Collections.emptyList();
+        return null;
     }
 
     // TODO: review the getValuesAsXXX methods - depending on the actual MultiValuedMap type,
changes



Mime
View raw message