jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1567082 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/ReadOnlyVersionManager.java
Date Tue, 11 Feb 2014 12:22:26 GMT
Author: angela
Date: Tue Feb 11 12:22:26 2014
New Revision: 1567082

URL: http://svn.apache.org/r1567082
Log:
remove unused private method

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/ReadOnlyVersionManager.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/ReadOnlyVersionManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/ReadOnlyVersionManager.java?rev=1567082&r1=1567081&r2=1567082&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/ReadOnlyVersionManager.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/version/ReadOnlyVersionManager.java
Tue Feb 11 12:22:26 2014
@@ -168,16 +168,6 @@ public abstract class ReadOnlyVersionMan
     }
 
     //----------------------------< internal >----------------------------------
-
-    @Nonnull
-    private static String getRelativePath(@Nonnull String absJcrPath) {
-        checkArgument(checkNotNull(absJcrPath).startsWith("/"),
-                "Path is not absolute: " + absJcrPath);
-        String relPath = absJcrPath.substring(1);
-        checkArgument(!relPath.startsWith("/"), "Invalid path: " + absJcrPath);
-        return relPath;
-    }
-
     /**
      * @return an identifier manager that is able to resolve identifiers of
      *         nodes in the version storage.



Mime
View raw message