jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r421261 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/name/Path.java
Date Wed, 12 Jul 2006 12:53:51 GMT
Author: angela
Date: Wed Jul 12 05:53:51 2006
New Revision: 421261

URL: http://svn.apache.org/viewvc?rev=421261&view=rev
Log:
unused public create-method.

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/name/Path.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/name/Path.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/name/Path.java?rev=421261&r1=421260&r2=421261&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/name/Path.java (original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/name/Path.java Wed Jul
12 05:53:51 2006
@@ -160,18 +160,6 @@
 
     //------------------------------------------------------< factory methods >
     /**
-     * @param elements
-     * @return the new <code>Path</code>
-     */
-    public static Path create(PathElement[] elements) {
-        // Path constructor uses elements array as is
-        // need to copy here because Path.create() is public
-        PathElement[] tmp = new PathElement[elements.length];
-        System.arraycopy(elements, 0, tmp, 0, elements.length);
-        return new Path(tmp, true);
-    }
-
-    /**
      * Creates a new <code>Path</code> from the given <code>jcrPath</code>
      * string. If <code>normalize</code> is <code>true</code>, the
returned
      * path will be normalized (or canonicalized if absolute).



Mime
View raw message