jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r508462 - in /jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core: persistence/db/DatabasePersistenceManager.java state/SharedItemStateManager.java
Date Fri, 16 Feb 2007 16:10:04 GMT
Author: jukka
Date: Fri Feb 16 08:10:03 2007
New Revision: 508462

URL: http://svn.apache.org/viewvc?view=rev&rev=508462
Log:
1.2: Merged revision 508429 (JCR-721)

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

Modified: jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java?view=diff&rev=508462&r1=508461&r2=508462
==============================================================================
--- jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
(original)
+++ jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db/DatabasePersistenceManager.java
Fri Feb 16 08:10:03 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/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java?view=diff&rev=508462&r1=508461&r2=508462
==============================================================================
--- jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
(original)
+++ jackrabbit/branches/1.2/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
Fri Feb 16 08:10:03 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