From 128f0276d95bca2eb9355eb6650668cd89ef86fe Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 19 Jul 2016 18:35:30 -0400 Subject: [PATCH] Fix Javadocs for ThreadPool#schedule This commit fixes an issue with an @throws tag on ThreadPool#schedule not containing a description. --- core/src/main/java/org/elasticsearch/threadpool/ThreadPool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/threadpool/ThreadPool.java b/core/src/main/java/org/elasticsearch/threadpool/ThreadPool.java index 1de2f859b84..044f19eaeea 100644 --- a/core/src/main/java/org/elasticsearch/threadpool/ThreadPool.java +++ b/core/src/main/java/org/elasticsearch/threadpool/ThreadPool.java @@ -327,7 +327,7 @@ public class ThreadPool extends AbstractComponent implements Closeable { * @return a ScheduledFuture who's get will return when the task is has been added to its target thread pool and throw an exception if * the task is canceled before it was added to its target thread pool. Once the task has been added to its target thread pool * the ScheduledFuture will cannot interact with it. - * @throws org.elasticsearch.common.util.concurrent.EsRejectedExecutionException + * @throws EsRejectedExecutionException if the task cannot be scheduled for execution */ public ScheduledFuture schedule(TimeValue delay, String executor, Runnable command) { if (!Names.SAME.equals(executor)) {