You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2010/10/13 16:46:02 UTC
svn commit: r1022118 -
/sling/branches/eventing-3.0/src/main/java/org/apache/sling/event/impl/jobs/StatisticsImpl.java
Author: cziegeler
Date: Wed Oct 13 14:46:01 2010
New Revision: 1022118
URL: http://svn.apache.org/viewvc?rev=1022118&view=rev
Log:
Fix start time when statistics is copied
Modified:
sling/branches/eventing-3.0/src/main/java/org/apache/sling/event/impl/jobs/StatisticsImpl.java
Modified: sling/branches/eventing-3.0/src/main/java/org/apache/sling/event/impl/jobs/StatisticsImpl.java
URL: http://svn.apache.org/viewvc/sling/branches/eventing-3.0/src/main/java/org/apache/sling/event/impl/jobs/StatisticsImpl.java?rev=1022118&r1=1022117&r2=1022118&view=diff
==============================================================================
--- sling/branches/eventing-3.0/src/main/java/org/apache/sling/event/impl/jobs/StatisticsImpl.java (original)
+++ sling/branches/eventing-3.0/src/main/java/org/apache/sling/event/impl/jobs/StatisticsImpl.java Wed Oct 13 14:46:01 2010
@@ -219,7 +219,7 @@ public class StatisticsImpl implements S
}
public synchronized StatisticsImpl copy() {
- final StatisticsImpl other = new StatisticsImpl();
+ final StatisticsImpl other = new StatisticsImpl(this.startTime);
other.queuedJobs = this.queuedJobs;
other.lastActivated = this.lastActivated;
other.lastFinished = this.lastFinished;