[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...

Manik Surtani manik at jboss.org
Mon Apr 23 12:14:48 EDT 2007


  User: msurtani
  Date: 07/04/23 12:14:48

  Modified:    src/org/jboss/cache/interceptors 
                        OptimisticValidatorInterceptor.java
  Log:
  JBCACHE-1026
  
  Revision  Changes    Path
  1.61      +1 -1      JBossCache/src/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: OptimisticValidatorInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -b -r1.60 -r1.61
  --- OptimisticValidatorInterceptor.java	29 Mar 2007 16:02:58 -0000	1.60
  +++ OptimisticValidatorInterceptor.java	23 Apr 2007 16:14:48 -0000	1.61
  @@ -98,7 +98,7 @@
               throw new DataVersioningException("Underlying node for " + fqn + " is null, and this node wasn't newly created in this transaction!  We have a concurrent deletion event.");
            }
   
  -         if (underlyingNode != null && workspaceNode.isCreated())
  +         if (underlyingNode != null && workspaceNode.isCreated() && workspaceNode.isDirty())
            {
               throw new DataVersioningException("Transaction attempted to create " + fqn + " anew.  It has already been created since this transaction started, by another (possibly remote) transaction.  We have a concurrent creation event.");
            }
  
  
  



More information about the jboss-cvs-commits mailing list