jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r702393 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version: AbstractVersionManager.java VersionManager.java
Date Tue, 07 Oct 2008 08:55:59 GMT
Author: jukka
Date: Tue Oct  7 01:55:59 2008
New Revision: 702393

URL: http://svn.apache.org/viewvc?rev=702393&view=rev
Log:
JCR-1775: Transaction-safe versioning

Removed unused hasVersionHistory() method.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java?rev=702393&r1=702392&r2=702393&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/AbstractVersionManager.java
Tue Oct  7 01:55:59 2008
@@ -107,14 +107,6 @@
         return (InternalVersionHistory) getItem(id);
     }
 
-    /**
-     * {@inheritDoc}
-     */
-    public boolean hasVersionHistory(NodeId id) {
-        // lock handling via hasItem()
-        return hasItem(id);
-    }
-
     //-------------------------------------------------------< implementation >
 
     /**

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManager.java?rev=702393&r1=702392&r2=702393&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/version/VersionManager.java
Tue Oct  7 01:55:59 2008
@@ -109,14 +109,6 @@
             throws RepositoryException;
 
     /**
-     * Checks if the version history with the given id exists
-     *
-     * @param id
-     * @return <code>true</code> if the version history exists.
-     */
-    boolean hasVersionHistory(NodeId id);
-
-    /**
      * Returns the version history with the given id
      *
      * @param id



Mime
View raw message