瀏覽代碼

Fix javadoc tag. (#41329)

s/returns/return/
Adrien Grand 6 年之前
父節點
當前提交
b1652ed26e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/src/main/java/org/elasticsearch/indices/IndicesService.java

+ 1 - 1
server/src/main/java/org/elasticsearch/indices/IndicesService.java

@@ -320,7 +320,7 @@ public class IndicesService extends AbstractLifecycleComponent
      * are closed and all shard {@link CacheHelper#addClosedListener(org.apache.lucene.index.IndexReader.ClosedListener) closed
      * listeners} have run. However some {@link IndexEventListener#onStoreClosed(ShardId) shard closed listeners} might not have
      * run.
-     * @returns true if all shards closed within the given timeout, false otherwise
+     * @return true if all shards closed within the given timeout, false otherwise
      * @throws InterruptedException if the current thread got interrupted while waiting for shards to close
      */
     public boolean awaitClose(long timeout, TimeUnit timeUnit) throws InterruptedException {