Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) adding more SVN properties *) minor changes

low01282d740050f0b
diff --git a/source/net/yacy/kelondro/workflow/AbstractBlockingThread.java b/source/net/yacy/kelondro/workflow/AbstractBlockingThread.java
index 718f55d1c..cbec33f99 100644
--- a/source/net/yacy/kelondro/workflow/AbstractBlockingThread.java
+++ b/source/net/yacy/kelondro/workflow/AbstractBlockingThread.java
@@ -3,8 +3,8 @@
// first published 27.03.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
-// $LastChangedRevision: 1986 $
-// $LastChangedBy: orbiter $
+// $LastChangedRevision$
+// $LastChangedBy$
//
// LICENSE
//
@@ -39,6 +39,7 @@ public abstract class AbstractBlockingThread<J extends WorkflowJob> extends Abst
return this.manager;
}
+ @Override
public void run() {
this.open();
if (log != null) {
diff --git a/source/net/yacy/kelondro/workflow/AbstractBusyThread.java b/source/net/yacy/kelondro/workflow/AbstractBusyThread.java
index 3512e22be..8b2a813ff 100644
--- a/source/net/yacy/kelondro/workflow/AbstractBusyThread.java
+++ b/source/net/yacy/kelondro/workflow/AbstractBusyThread.java
@@ -3,8 +3,8 @@
// first published 14.03.2005 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
-// $LastChangedRevision: 1986 $
-// $LastChangedBy: orbiter $
+// $LastChangedRevision$
+// $LastChangedBy$
//
// LICENSE
//
@@ -100,6 +100,7 @@ public abstract class AbstractBusyThread extends AbstractThread implements BusyT
}
+ @Override
public void run() {
if (startup > 0) {
// do a startup-delay
@@ -192,6 +193,7 @@ public abstract class AbstractBusyThread extends AbstractThread implements BusyT
logSystem("thread '" + this.getName() + "' terminated.");
}
+ // ratzen: German for to sleep (coll.)
private void ratz(final long millis) {
try {/*
if (this.syncObject != null) {
diff --git a/source/net/yacy/kelondro/workflow/AbstractThread.java b/source/net/yacy/kelondro/workflow/AbstractThread.java
index 86cf9a77d..2e8a0ad1e 100644
--- a/source/net/yacy/kelondro/workflow/AbstractThread.java
+++ b/source/net/yacy/kelondro/workflow/AbstractThread.java
@@ -3,8 +3,8 @@
// first published 14.03.2005 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
-// $LastChangedRevision: 1986 $
-// $LastChangedBy: orbiter $
+// $LastChangedRevision$
+// $LastChangedBy$
//
// LICENSE
//
diff --git a/source/net/yacy/kelondro/workflow/BlockingThread.java b/source/net/yacy/kelondro/workflow/BlockingThread.java
index beb4fa000..86adc4aa0 100644
--- a/source/net/yacy/kelondro/workflow/BlockingThread.java
+++ b/source/net/yacy/kelondro/workflow/BlockingThread.java
@@ -3,8 +3,8 @@
// first published 27.03.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
-// $LastChangedRevision: 1986 $
-// $LastChangedBy: orbiter $
+// $LastChangedRevision$
+// $LastChangedBy$
//
// LICENSE
//
@@ -27,12 +27,12 @@ package net.yacy.kelondro.workflow;
public interface BlockingThread<J extends WorkflowJob> extends WorkflowThread {
- public void setManager(WorkflowProcessor<J> queue);
+ public void setManager(final WorkflowProcessor<J> queue);
public WorkflowProcessor<J> getManager();
- public J job(J next) throws Exception;
+ public J job(final J next) throws Exception;
// performes one job procedure; this loopes until terminate() is called
// job returns true if it has done something
// it returns false if it is idle and does not expect to work on more for a longer time
diff --git a/source/net/yacy/kelondro/workflow/BusyThread.java b/source/net/yacy/kelondro/workflow/BusyThread.java
index 2f5289b9e..befffbac7 100644
--- a/source/net/yacy/kelondro/workflow/BusyThread.java
+++ b/source/net/yacy/kelondro/workflow/BusyThread.java
@@ -3,8 +3,8 @@
// first published 27.03.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
-// $LastChangedRevision: 1986 $
-// $LastChangedBy: orbiter $
+// $LastChangedRevision$
+// $LastChangedBy$
//
// LICENSE
//
diff --git a/source/net/yacy/kelondro/workflow/WorkflowJob.java b/source/net/yacy/kelondro/workflow/WorkflowJob.java
index 6d2b7cf58..15cf67a24 100644
--- a/source/net/yacy/kelondro/workflow/WorkflowJob.java
+++ b/source/net/yacy/kelondro/workflow/WorkflowJob.java
@@ -3,8 +3,8 @@
// first published 29.02.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
-// $LastChangedRevision: 1986 $
-// $LastChangedBy: orbiter $
+// $LastChangedRevision$
+// $LastChangedBy$
//
// LICENSE
//
diff --git a/source/net/yacy/kelondro/workflow/WorkflowProcessor.java b/source/net/yacy/kelondro/workflow/WorkflowProcessor.java
index 87bb9a275..6935f20a0 100644
--- a/source/net/yacy/kelondro/workflow/WorkflowProcessor.java
+++ b/source/net/yacy/kelondro/workflow/WorkflowProcessor.java
@@ -3,8 +3,8 @@
// first published 27.02.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
-// $LastChangedRevision: 1986 $
-// $LastChangedBy: orbiter $
+// $LastChangedRevision$
+// $LastChangedBy$
//
// LICENSE
//
@@ -55,7 +55,7 @@ public class WorkflowProcessor<J extends WorkflowJob> {
private long execCount;
public WorkflowProcessor(
- String name, String description, String[] childnames,
+ final String name, final String description, final String[] childnames,
final Object env, final String jobExecMethod,
final int inputQueueSize, final WorkflowProcessor<J> output, final int poolsize) {
// start a fixed number of executors that handle entries in the process queue
@@ -106,7 +106,7 @@ public class WorkflowProcessor<J extends WorkflowJob> {
return j;
}
- public void passOn(J next) throws InterruptedException {
+ public void passOn(final J next) throws InterruptedException {
// don't mix this method up with enQueue()!
// this method enqueues into the _next_ queue, not this queue!
if (this.output == null) return;
@@ -197,7 +197,7 @@ public class WorkflowProcessor<J extends WorkflowJob> {
return processMonitor.iterator();
}
- protected void increaseJobTime(long time) {
+ protected void increaseJobTime(final long time) {
this.execTime += time;
this.execCount++;
}
diff --git a/source/net/yacy/kelondro/workflow/WorkflowThread.java b/source/net/yacy/kelondro/workflow/WorkflowThread.java
index 20a1990e3..54fe77e6c 100644
--- a/source/net/yacy/kelondro/workflow/WorkflowThread.java
+++ b/source/net/yacy/kelondro/workflow/WorkflowThread.java
@@ -3,8 +3,8 @@
// first published 13.03.2005 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
-// $LastChangedRevision: 1986 $
-// $LastChangedBy: orbiter $
+// $LastChangedRevision$
+// $LastChangedBy$
//
// LICENSE
//