jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r687322 - /jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java
Date Wed, 20 Aug 2008 13:23:23 GMT
Author: angela
Date: Wed Aug 20 06:23:23 2008
New Revision: 687322

URL: http://svn.apache.org/viewvc?rev=687322&view=rev
Log:
remove redundant code

Modified:
    jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java?rev=687322&r1=687321&r2=687322&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2jcr/src/main/java/org/apache/jackrabbit/spi2jcr/RepositoryServiceImpl.java
Wed Aug 20 06:23:23 2008
@@ -1171,7 +1171,7 @@
             if (p != null) {
                 removedNodeIds.add(itemId);
                 int index = p.getNameElement().getNormalizedIndex();
-                if (index > Path.INDEX_DEFAULT && !removedNodeIds.isEmpty()) {
+                if (index > Path.INDEX_DEFAULT) {
                     Path.Element[] elems = p.getElements();
                     PathBuilder pb = new PathBuilder();
                     for (int i = 0; i <= elems.length - 2; i++) {



Mime
View raw message