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;