incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r662836 - /incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
Date Tue, 03 Jun 2008 16:54:36 GMT
Author: cziegeler
Date: Tue Jun  3 09:54:35 2008
New Revision: 662836

URL: http://svn.apache.org/viewvc?rev=662836&view=rev
Log:
Ignore finished jobs on startup.

Modified:
    incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java

Modified: incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java?rev=662836&r1=662835&r2=662836&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
(original)
+++ incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/JobEventHandler.java
Tue Jun  3 09:54:35 2008
@@ -700,7 +700,7 @@
             final NodeIterator result = q.execute().getNodes();
             while ( result.hasNext() ) {
                 final Node eventNode = result.nextNode();
-                if ( !eventNode.isLocked() ) {
+                if ( !eventNode.isLocked() && !eventNode.hasProperty(EventHelper.NODE_PROPERTY_FINISHED))
{
                     final String nodePath = eventNode.getPath();
                     try {
                         final Event event = this.readEvent(eventNode);



Mime
View raw message