You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2013/10/15 23:51:46 UTC

svn commit: r1532555 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/viewstate/ServerSideStateCacheImpl.java

Author: lu4242
Date: Tue Oct 15 21:51:46 2013
New Revision: 1532555

URL: http://svn.apache.org/r1532555
Log:
MYFACES-3723 JSF 2.2: Support parameter javax.faces.SERIALIZE_SERVER_STATE (Thanks to Michael Kurz for provide this patch)

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/viewstate/ServerSideStateCacheImpl.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/viewstate/ServerSideStateCacheImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/viewstate/ServerSideStateCacheImpl.java?rev=1532555&r1=1532554&r2=1532555&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/viewstate/ServerSideStateCacheImpl.java (original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/viewstate/ServerSideStateCacheImpl.java Tue Oct 15 21:51:46 2013
@@ -97,8 +97,11 @@ class ServerSideStateCacheImpl extends S
      * If <code>true</code> (default) the state will be serialized to a byte stream before it is written to the session.
      * If <code>false</code> the state will not be serialized to a byte stream.
      * </p>
+     * @deprecated 
      */
-    @JSFWebConfigParam(defaultValue="false",since="1.1", expectedValues="true,false", group="state", tags="performance")
+    @Deprecated
+    @JSFWebConfigParam(defaultValue="false",since="1.1", expectedValues="true,false", 
+        group="state", tags="performance", deprecated=true)
     public static final String SERIALIZE_STATE_IN_SESSION_PARAM = "org.apache.myfaces.SERIALIZE_STATE_IN_SESSION";
 
     /**