[jboss-cvs] jboss-seam/src/main/org/jboss/seam/web ...

Gavin King gavin.king at jboss.com
Sun Jun 10 15:39:16 EDT 2007


  User: gavin   
  Date: 07/06/10 15:39:16

  Modified:    src/main/org/jboss/seam/web  SeamFilter.java
  Log:
  cleaner
  
  Revision  Changes    Path
  1.8       +2 -3      jboss-seam/src/main/org/jboss/seam/web/SeamFilter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamFilter.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/web/SeamFilter.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- SeamFilter.java	10 Jun 2007 19:25:59 -0000	1.7
  +++ SeamFilter.java	10 Jun 2007 19:39:16 -0000	1.8
  @@ -15,8 +15,7 @@
   import javax.servlet.ServletResponse;
   
   import org.jboss.seam.Component;
  -import org.jboss.seam.ScopeType;
  -import org.jboss.seam.contexts.BasicContext;
  +import org.jboss.seam.contexts.ApplicationContext;
   import org.jboss.seam.contexts.Context;
   import org.jboss.seam.core.Init;
   import org.jboss.seam.log.LogProvider;
  @@ -75,7 +74,7 @@
   
      public void init(FilterConfig filterConfig) throws ServletException 
      {
  -      Context tempApplicationContext = new BasicContext(ScopeType.APPLICATION, new ServletApplicationMap( filterConfig.getServletContext() ) ); 
  +      Context tempApplicationContext = new ApplicationContext( new ServletApplicationMap( filterConfig.getServletContext() ) ); 
         Init init = (Init) tempApplicationContext.get(Init.class);
         
         // Setup ready for sorting
  
  
  



More information about the jboss-cvs-commits mailing list