Skip to content

Commit 1c2a4aa

Browse files
committed
Fix some warnings that broke the build (inheritDoc doesn't work for @throws?)
1 parent 2410925 commit 1c2a4aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/action/support/PlainActionFuture.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void onFailure(Exception e) {
6666
*
6767
* @throws InterruptedException if the current thread was interrupted before
6868
* or during the call (optional but recommended).
69-
* @throws CancellationException {@inheritDoc}
69+
* @throws CancellationException if the computation was canceled
7070
*/
7171
@Override
7272
public T get(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, ExecutionException {
@@ -88,7 +88,7 @@ public T get(long timeout, TimeUnit unit) throws InterruptedException, TimeoutEx
8888
*
8989
* @throws InterruptedException if the current thread was interrupted before
9090
* or during the call (optional but recommended).
91-
* @throws CancellationException {@inheritDoc}
91+
* @throws CancellationException if the computation was canceled
9292
*/
9393
@Override
9494
public T get() throws InterruptedException, ExecutionException {

0 commit comments

Comments
 (0)