jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r330034 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
Date Tue, 01 Nov 2005 11:51:42 GMT
Author: stefan
Date: Tue Nov  1 03:51:36 2005
New Revision: 330034

URL: http://svn.apache.org/viewcvs?rev=330034&view=rev
Log:
added missing 'synchronized' method modifiers

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java?rev=330034&r1=330033&r2=330034&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
Tue Nov  1 03:51:36 2005
@@ -768,7 +768,7 @@
     /**
      * {@inheritDoc}
      */
-    public boolean exists(NodeId id) throws ItemStateException {
+    public synchronized boolean exists(NodeId id) throws ItemStateException {
         if (!initialized) {
             throw new IllegalStateException("not initialized");
         }
@@ -795,7 +795,7 @@
     /**
      * {@inheritDoc}
      */
-    public boolean exists(PropertyId id) throws ItemStateException {
+    public synchronized boolean exists(PropertyId id) throws ItemStateException {
         if (!initialized) {
             throw new IllegalStateException("not initialized");
         }



Mime
View raw message