dev@javaserverfaces.java.net

Review: make state compression "on" by default

From: Jayashri Visvanathan <Jayashri.Visvanathan_at_Sun.COM>
Date: Wed, 21 Jul 2004 10:41:14 -0700

M src/com/sun/faces/renderkit/ResponseStateManagerImpl.java
  make gzip compression of the state "on" by default.


Index: src/com/sun/faces/renderkit/ResponseStateManagerImpl.java
===================================================================
RCS file: /cvs/javaserverfaces-sources/jsf-ri/src/com/sun/faces/renderkit/ResponseStateManagerImpl.java,v
retrieving revision 1.12
diff -u -r1.12 ResponseStateManagerImpl.java
--- src/com/sun/faces/renderkit/ResponseStateManagerImpl.java 12 Jun 2004 00:15:10 -0000 1.12
+++ src/com/sun/faces/renderkit/ResponseStateManagerImpl.java 21 Jul 2004 17:35:45 -0000
@@ -200,7 +200,7 @@
         if (null != compressStateSet) {
             return compressStateSet.booleanValue();
         }
- compressStateSet = Boolean.FALSE;
+ compressStateSet = Boolean.TRUE;
 
         String compressStateParam = context.getExternalContext().
             getInitParameter(COMPRESS_STATE_PARAM);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net