jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1156187 - in /jackrabbit/sandbox/spi2microkernel: pom.xml src/main/java/org/apache/jackrabbit/spi2microkernel/SubscriptionImpl.java
Date Wed, 10 Aug 2011 13:55:23 GMT
Author: mduerig
Date: Wed Aug 10 13:55:23 2011
New Revision: 1156187

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

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

Modified: jackrabbit/sandbox/spi2microkernel/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi2microkernel/pom.xml?rev=1156187&r1=1156186&r2=1156187&view=diff
==============================================================================
--- jackrabbit/sandbox/spi2microkernel/pom.xml (original)
+++ jackrabbit/sandbox/spi2microkernel/pom.xml Wed Aug 10 13:55:23 2011
@@ -69,6 +69,7 @@
             <groupId>javax.jcr</groupId>
             <artifactId>jcr</artifactId>
             <version>2.0</version>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
@@ -81,6 +82,7 @@
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-simple</artifactId>
             <version>1.6.1</version>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>junit</groupId>

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=1156187&r1=1156186&r2=1156187&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
Wed Aug 10 13:55:23 2011
@@ -297,7 +297,7 @@ public class SubscriptionImpl implements
 
             EventTemplate eventTemplate = new EventTemplate()
                     .setTimestamp(timeStamp)
-                    .setUserId(sessionState.getSessionInfo().getUserID())
+                    .setUserId(sessionState.getSessionInfo().getUserID())  // fixme: need
userId of session who caused the event
                     .setUserData(userData);
 
             Collection<Event> events = getEvents(changes, eventTemplate);



Mime
View raw message