From fe8102a4304045417d6539a9a4cccaae060f60e9 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Tue, 10 May 2016 15:07:27 +0200 Subject: [PATCH] Cosmetics. --- .../util/thread/strategy/ExecutingExecutionStrategy.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/strategy/ExecutingExecutionStrategy.java b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/strategy/ExecutingExecutionStrategy.java index 5985dc9594a..29372697a90 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/strategy/ExecutingExecutionStrategy.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/strategy/ExecutingExecutionStrategy.java @@ -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; } - }