Browse Source

Fix javadoc tag. (#41329)

s/returns/return/
Adrien Grand 6 năm trước cách đây
mục cha
commit
b1652ed26e

+ 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 {