jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1157042 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/ConsolidatingChangeLog.java
Date Fri, 12 Aug 2011 10:51:02 GMT
Author: mduerig
Date: Fri Aug 12 10:51:02 2011
New Revision: 1157042

URL: http://svn.apache.org/viewvc?rev=1157042&view=rev
Log:
JCR-3049: NPE in ConsolidatingChangeLog for id base NodeId

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/ConsolidatingChangeLog.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/ConsolidatingChangeLog.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/ConsolidatingChangeLog.java?rev=1157042&r1=1157041&r2=1157042&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/ConsolidatingChangeLog.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/batch/ConsolidatingChangeLog.java
Fri Aug 12 10:51:02 2011
@@ -74,7 +74,7 @@ public class ConsolidatingChangeLog exte
     protected static Path getPath(ItemId itemId) {
         Path path = itemId.getPath();
         if (path != null && !path.isAbsolute()) {
-            throw new IllegalArgumentException("Path not absoulte: " + path);
+            return null;
         }
         return path;
     }



Mime
View raw message