jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r508429 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core: persistence/db/DatabasePersistenceManager.java state/SharedItemStateManager.java
Date Fri, 16 Feb 2007 14:53:04 GMT
Author: stefan
Date: Fri Feb 16 06:53:04 2007
New Revision: 508429

URL: http://svn.apache.org/viewvc?view=rev&rev=508429
Log:
JCR-721: Duplicate key in DatabasePersistenceManager

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java?view=diff&rev=508429&r1=508428&r2=508429
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
Fri Feb 16 06:53:04 2007
@@ -269,7 +269,7 @@
             ItemStateException ise = null;
             // number of attempts to store the changes
             int trials = 2;
-            while (true) {
+            while (trials > 0) {
                 try {
                     super.store(changeLog);
                     break;

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java?view=diff&rev=508429&r1=508428&r2=508429
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
Fri Feb 16 06:53:04 2007
@@ -1057,7 +1057,7 @@
     }
 
     /**
-     * Create a new node state instance
+     * Create a new item state instance
      *
      * @param other other state associated with new instance
      * @return new node state instance



Mime
View raw message