diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutionStrategy.java b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutionStrategy.java index 1159b93237b..3e245952234 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutionStrategy.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutionStrategy.java @@ -42,7 +42,7 @@ public abstract class ExecutionStrategy implements Runnable * results until {@link #produce()} has been called. * @return true if this Producer may produce more tasks from {@link #produce()} */ - boolean isMoreToProduce(); + boolean isMore(); /** * Called to signal production is completed @@ -85,7 +85,7 @@ public abstract class ExecutionStrategy implements Runnable break loop; // If we are still producing, - if (_producer.isMoreToProduce()) + if (_producer.isMore()) // execute the task _executor.execute(task); else @@ -139,7 +139,7 @@ public abstract class ExecutionStrategy implements Runnable try { task=_producer.produce(); - complete=task==null || _producer.isMoreToProduce(); + complete=task==null || _producer.isMore(); } finally {