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

Gavin King gavin.king at jboss.com
Thu Sep 28 18:32:02 EDT 2006


  User: gavin   
  Date: 06/09/28 18:32:02

  Modified:    src/main/org/jboss/seam/contexts 
                        ServerConversationContext.java
  Log:
  todo
  
  Revision  Changes    Path
  1.6       +3 -3      jboss-seam/src/main/org/jboss/seam/contexts/ServerConversationContext.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServerConversationContext.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/ServerConversationContext.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- ServerConversationContext.java	28 Sep 2006 16:43:10 -0000	1.5
  +++ ServerConversationContext.java	28 Sep 2006 22:32:02 -0000	1.6
  @@ -23,7 +23,7 @@
    * 
    * @author Gavin King
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
   public class ServerConversationContext implements Context {
   
  @@ -161,9 +161,9 @@
      public void flush()
      {
         Manager manager = Manager.instance();
  +      //TODO: with the exception filter it seems to be possible for 
  +      //manager==null, causing an NPE here:
         boolean longRunning = manager.isLongRunningConversation() ||
  -            //TODO: in some exception cases it seems to be possible for 
  -            //manager.getCurrentConversationId()==null, causing an NPE:
               !manager.getCurrentConversationId().equals( getId() );  
         if ( longRunning )
         {
  
  
  



More information about the jboss-cvs-commits mailing list