jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1157021 - in /jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel: RepositoryServiceImpl.java SubscriptionImpl.java
Date Fri, 12 Aug 2011 09:16:57 GMT
Author: mduerig
Date: Fri Aug 12 09:16:57 2011
New Revision: 1157021

URL: http://svn.apache.org/viewvc?rev=1157021&view=rev
Log:
spi2microkernel (WIP)
- todos

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

Modified: jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java?rev=1157021&r1=1157020&r2=1157021&view=diff
==============================================================================
--- jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
(original)
+++ jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/RepositoryServiceImpl.java
Fri Aug 12 09:16:57 2011
@@ -456,7 +456,7 @@ public class RepositoryServiceImpl exten
     private static Path getPath(NodeId nodeId) throws ItemNotFoundException {
         Path path = nodeId.getPath();
         if (path == null) {
-            throw new ItemNotFoundException(nodeId.toString());
+            throw new ItemNotFoundException(nodeId.toString()); // fixme: correctly resolve
node based ids
         }
         
         return path;

Modified: jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java?rev=1157021&r1=1157020&r2=1157021&view=diff
==============================================================================
--- jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
(original)
+++ jackrabbit/sandbox/spi2microkernel/src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
Fri Aug 12 09:16:57 2011
@@ -299,7 +299,7 @@ public class SubscriptionImpl implements
 
             EventTemplate eventTemplate = new EventTemplate()
                     .setTimestamp(timeStamp)
-                    .setUserId(sessionState.getSessionInfo().getUserID())  // fixme: need
userId of session who caused the event
+                    .setUserId(sessionState.getSessionInfo().getUserID())  // fixme: need
userId of session who caused the event: put into msg, and parser from there
                     .setUserData(userData);
 
             Collection<Event> events = getEvents(changes, eventTemplate);



Mime
View raw message