From d7724991727710f5ac9c77265509065c7d79d91d Mon Sep 17 00:00:00 2001 From: Shivansh Arora Date: Mon, 5 Feb 2024 14:38:48 +0530 Subject: [PATCH] Fix javadoc Signed-off-by: Shivansh Arora --- .../java/org/opensearch/gateway/PrimaryShardAllocator.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/src/main/java/org/opensearch/gateway/PrimaryShardAllocator.java b/server/src/main/java/org/opensearch/gateway/PrimaryShardAllocator.java index 1b1e0a6c21ef3..5046873830c01 100644 --- a/server/src/main/java/org/opensearch/gateway/PrimaryShardAllocator.java +++ b/server/src/main/java/org/opensearch/gateway/PrimaryShardAllocator.java @@ -132,9 +132,7 @@ public AllocateUnassignedDecision makeAllocationDecision( /** * Transforms {@link FetchResult} of {@link NodeGatewayStartedShards} to {@link List} of {@link NodeGatewayStartedShards} * Returns null if {@link FetchResult} does not have any data. - * - * @param shardsState {@link FetchResult} - * */ + */ private static List adaptToNodeStartedShardList(FetchResult shardsState) { if (!shardsState.hasData()) { return null;