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

Manik Surtani manik at jboss.org
Fri Apr 20 09:09:41 EDT 2007


  User: msurtani
  Date: 07/04/20 09:09:41

  Modified:    src/org/jboss/cache/interceptors  Tag:
                        Branch_JBossCache_1_4_0
                        OptimisticValidatorInterceptor.java
  Log:
  JBCACHE-1026
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.25.2.16 +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.25.2.15
  retrieving revision 1.25.2.16
  diff -u -b -r1.25.2.15 -r1.25.2.16
  --- OptimisticValidatorInterceptor.java	7 Mar 2007 22:46:28 -0000	1.25.2.15
  +++ OptimisticValidatorInterceptor.java	20 Apr 2007 13:09:41 -0000	1.25.2.16
  @@ -134,7 +134,7 @@
                   throw new DataVersioningException("Real node for " + fqn + " is null, and this wasn't newly created in this tx!");
               }
   
  -           if (realNode != null && workspaceNode.isCreated())
  +           if (realNode != null && workspaceNode.isCreated() && workspaceNode.isDirty())
              {
                 throw new DataVersioningException("Tx attempted to create " + fqn + " anew.  It has already been created since this tx started by another (possibly remote) tx.");
              }
  
  
  



More information about the jboss-cvs-commits mailing list