commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ozeigerm...@apache.org
Subject cvs commit: jakarta-commons-sandbox/transaction/src/java/org/apache/commons/transaction/memory TransactionalMapWrapper.java
Date Fri, 04 Jun 2004 12:09:43 GMT
ozeigermann    2004/06/04 05:09:43

  Modified:    transaction/src/java/org/apache/commons/transaction/memory
                        TransactionalMapWrapper.java
  Log:
  Fixed size bug (again)
  
  Revision  Changes    Path
  1.14      +5 -5      jakarta-commons-sandbox/transaction/src/java/org/apache/commons/transaction/memory/TransactionalMapWrapper.java
  
  Index: TransactionalMapWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/transaction/src/java/org/apache/commons/transaction/memory/TransactionalMapWrapper.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- TransactionalMapWrapper.java	4 Jun 2004 11:19:39 -0000	1.13
  +++ TransactionalMapWrapper.java	4 Jun 2004 12:09:43 -0000	1.14
  @@ -460,7 +460,7 @@
                   readOnly = false;
   				changes.remove(key);
                   adds.remove(key);
  -                if (wrapped.containsKey(key)) {
  +                if (wrapped.containsKey(key) && !cleared) {
   					deletes.add(key);
                   }
               } catch (RuntimeException e) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message