[seam-commits] Seam SVN: r7619 - in trunk/src/main/org/jboss/seam: web and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Mar 18 16:49:24 EDT 2008


Author: norman.richards at jboss.com
Date: 2008-03-18 16:49:24 -0400 (Tue, 18 Mar 2008)
New Revision: 7619

Modified:
   trunk/src/main/org/jboss/seam/navigation/Page.java
   trunk/src/main/org/jboss/seam/web/RewriteFilter.java
Log:
seconds, not ms

Modified: trunk/src/main/org/jboss/seam/navigation/Page.java
===================================================================
--- trunk/src/main/org/jboss/seam/navigation/Page.java	2008-03-18 20:02:05 UTC (rev 7618)
+++ trunk/src/main/org/jboss/seam/navigation/Page.java	2008-03-18 20:49:24 UTC (rev 7619)
@@ -309,7 +309,7 @@
         if (expires != null) {
             Header.sendHeader(response, 
                               "Expires", 
-                              rfc1123Date(new Date(System.currentTimeMillis()+expires)));
+                              rfc1123Date(new Date(System.currentTimeMillis()+expires*1000)));
         }
     }
    

Modified: trunk/src/main/org/jboss/seam/web/RewriteFilter.java
===================================================================
--- trunk/src/main/org/jboss/seam/web/RewriteFilter.java	2008-03-18 20:02:05 UTC (rev 7618)
+++ trunk/src/main/org/jboss/seam/web/RewriteFilter.java	2008-03-18 20:49:24 UTC (rev 7619)
@@ -1,7 +1,6 @@
 package org.jboss.seam.web;
 
 import static org.jboss.seam.ScopeType.APPLICATION;
-import static org.jboss.seam.annotations.Install.BUILT_IN;
 
 import java.io.IOException;
 import java.util.ArrayList;
@@ -29,7 +28,7 @@
 
 @Scope(APPLICATION)
 @Name("org.jboss.seam.web.rewriteFilter")
- at Install(false)
+ at Install(precedence=Install.BUILT_IN,value=false)
 @BypassInterceptors
 @Filter(within="org.jboss.seam.debug.hotDeployFilter")
 public class RewriteFilter 




More information about the seam-commits mailing list