jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1163573 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
Date Wed, 31 Aug 2011 11:09:40 GMT
Author: mduerig
Date: Wed Aug 31 11:09:39 2011
New Revision: 1163573

URL: http://svn.apache.org/viewvc?rev=1163573&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
references: filter by property name

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java?rev=1163573&r1=1163572&r2=1163573&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
Wed Aug 31 11:09:39 2011
@@ -420,7 +420,7 @@ public class RepositoryServiceImpl exten
             return Iterators.filterIterator(propertyIds, new Predicate<PropertyId>()
{
                 @Override
                 public boolean evaluate(PropertyId propertyId) {
-                    return propertyName.equals(propertyId);
+                    return propertyName.equals(propertyId.getName());
                 }
             });
         }
@@ -811,6 +811,7 @@ public class RepositoryServiceImpl exten
             // todo: check mandatory properties are set
             // todo: check value constraints
             // todo: throw InvalidItemStateException when item no longer exists
+            // todo: throw ReferentialIntegrityException when saving removed node which is
target of a reference
             sessionState(sessionInfo).commitWithLock(new Callable<String>() {
                 @Override
                 public String call() {



Mime
View raw message