Author: toad
Date: 2008-06-18 19:45:33 +0000 (Wed, 18 Jun 2008)
New Revision: 20458
Modified:
branches/db4o/freenet/src/freenet/support/PrioritizedSerialExecutor.java
Log:
Doh
Modified:
branches/db4o/freenet/src/freenet/support/PrioritizedSerialExecutor.java
===================================================================
--- branches/db4o/freenet/src/freenet/support/PrioritizedSerialExecutor.java
2008-06-18 19:41:03 UTC (rev 20457)
+++ branches/db4o/freenet/src/freenet/support/PrioritizedSerialExecutor.java
2008-06-18 19:45:33 UTC (rev 20458)
@@ -162,7 +162,7 @@
public boolean onThread() {
Thread running = Thread.currentThread();
synchronized(jobs) {
- if(runner != null) return false;
+ if(runner == null) return false;
return runner.current == running;
}
}