Cosmetics.
This commit is contained in:
parent
8ac23d187a
commit
fe8102a430
|
@ -20,6 +20,7 @@ package org.eclipse.jetty.util.thread.strategy;
|
|||
|
||||
import java.util.concurrent.Executor;
|
||||
import java.util.concurrent.RejectedExecutionException;
|
||||
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.log.Logger;
|
||||
import org.eclipse.jetty.util.thread.ExecutionStrategy;
|
||||
|
@ -27,14 +28,13 @@ import org.eclipse.jetty.util.thread.ExecutionStrategy;
|
|||
public abstract class ExecutingExecutionStrategy implements ExecutionStrategy
|
||||
{
|
||||
private static final Logger LOG = Log.getLogger(ExecutingExecutionStrategy.class);
|
||||
|
||||
|
||||
private final Executor _executor;
|
||||
|
||||
|
||||
protected ExecutingExecutionStrategy(Executor executor)
|
||||
{
|
||||
_executor=executor;
|
||||
}
|
||||
|
||||
|
||||
protected boolean execute(Runnable task)
|
||||
{
|
||||
|
@ -61,5 +61,4 @@ public abstract class ExecutingExecutionStrategy implements ExecutionStrategy
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue