jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject svn commit: r1391767 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventJournalImpl.java
Date Sat, 29 Sep 2012 07:52:12 GMT
Author: unico
Date: Sat Sep 29 07:52:11 2012
New Revision: 1391767

URL: http://svn.apache.org/viewvc?rev=1391767&view=rev
Log:
JCR-3434 fix typo in order to skip to correct timestamp (thanks to Lars Michele)

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventJournalImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventJournalImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventJournalImpl.java?rev=1391767&r1=1391766&r2=1391767&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventJournalImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventJournalImpl.java
Sat Sep 29 07:52:11 2012
@@ -135,7 +135,7 @@ public class EventJournalImpl implements
         // get skip map for this journal
         SortedMap<Long, Long> skipMap = getSkipMap();
         synchronized (skipMap) {
-            SortedMap<Long, Long> head = skipMap.headMap(new Long(time));
+            SortedMap<Long, Long> head = skipMap.headMap(new Long(date));
             if (!head.isEmpty()) {
                 eventBundleBuffer.clear();
                 lastRevision = head.get(head.lastKey());
@@ -409,7 +409,6 @@ public class EventJournalImpl implements
          * @param eventStates the {@link EventState}s that belong to this bundle.
          * @param timestamp the timestamp when the events were created.
          * @param userData the user data associated with this event.
-         * @param filter the event filter.
          */
         private EventBundle(
                 List<EventState> eventStates, long timestamp, String userData) {



Mime
View raw message