commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1165029 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/portlet/PortletWebContext.java
Date Sun, 04 Sep 2011 14:17:34 GMT
Author: simonetripodi
Date: Sun Sep  4 14:17:33 2011
New Revision: 1165029

URL: http://svn.apache.org/viewvc?rev=1165029&view=rev
Log:
fixed Map generic types on empty maps

Modified:
    commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/portlet/PortletWebContext.java

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/portlet/PortletWebContext.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/portlet/PortletWebContext.java?rev=1165029&r1=1165028&r2=1165029&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/portlet/PortletWebContext.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/portlet/PortletWebContext.java
Sun Sep  4 14:17:33 2011
@@ -264,7 +264,7 @@ public class PortletWebContext extends W
 
         if ((header == null) && (request != null)) {
         //            header = new PortletHeaderMap(request);
-        header = Collections.EMPTY_MAP;
+        header = Collections.emptyMap();
         }
         return (header);
 
@@ -279,7 +279,7 @@ public class PortletWebContext extends W
 
         if ((headerValues == null) && (request != null)) {
         //            headerValues = new PortletHeaderValuesMap(request);
-        headerValues = Collections.EMPTY_MAP;
+        headerValues = Collections.emptyMap();
         }
         return (headerValues);
 
@@ -339,7 +339,7 @@ public class PortletWebContext extends W
      */
     public Map<String, Cookie> getCookies() {
 
-        return Collections.EMPTY_MAP;
+        return Collections.emptyMap();
 
     }
 



Mime
View raw message