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

Gavin King gavin.king at jboss.com
Thu Jun 7 13:02:04 EDT 2007


  User: gavin   
  Date: 07/06/07 13:02:04

  Modified:    src/main/org/jboss/seam/core  ServletSession.java
  Log:
  ooops, broke session invalidation
  
  Revision  Changes    Path
  1.3       +2 -1      jboss-seam/src/main/org/jboss/seam/core/ServletSession.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServletSession.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ServletSession.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- ServletSession.java	6 Jun 2007 00:37:26 -0000	1.2
  +++ ServletSession.java	7 Jun 2007 17:02:04 -0000	1.3
  @@ -27,6 +27,7 @@
      public void invalidate()
      {
         this.isInvalid = true;
  +      setDirty();
      }
      
      public boolean isInvalidDueToNewScheme()
  @@ -75,7 +76,7 @@
         {
            throw new IllegalStateException("No active event context");
         }
  -      return (ServletSession) Component.getInstance(ServletSession.class, ScopeType.EVENT);
  +      return (ServletSession) Component.getInstance(ServletSession.class, ScopeType.SESSION);
      }
   
   }
  
  
  



More information about the jboss-cvs-commits mailing list