You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/04/24 20:20:12 UTC

svn commit: r1471583 - /commons/proper/chain/trunk/web/src/main/java/org/apache/commons/chain2/web/faces/FacesWebContext.java

Author: sebb
Date: Wed Apr 24 18:20:11 2013
New Revision: 1471583

URL: http://svn.apache.org/r1471583
Log:
Not possible to avoid raw type here because of poor Faces API

Modified:
    commons/proper/chain/trunk/web/src/main/java/org/apache/commons/chain2/web/faces/FacesWebContext.java

Modified: commons/proper/chain/trunk/web/src/main/java/org/apache/commons/chain2/web/faces/FacesWebContext.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/web/src/main/java/org/apache/commons/chain2/web/faces/FacesWebContext.java?rev=1471583&r1=1471582&r2=1471583&view=diff
==============================================================================
--- commons/proper/chain/trunk/web/src/main/java/org/apache/commons/chain2/web/faces/FacesWebContext.java (original)
+++ commons/proper/chain/trunk/web/src/main/java/org/apache/commons/chain2/web/faces/FacesWebContext.java Wed Apr 24 18:20:11 2013
@@ -191,7 +191,7 @@ public class FacesWebContext extends Web
 
             if (cookieObj instanceof Cookie) {
                 // See comment above about type safety check
-                @SuppressWarnings("unchecked")
+                @SuppressWarnings({ "unchecked", "rawtypes" })
                 Map<String, Cookie> cookieMap = Collections.checkedMap(
                         (Map) facesCookieMap, String.class, Cookie.class);