diff --git a/server/src/main/java/org/elasticsearch/gateway/MetadataStateFormat.java b/server/src/main/java/org/elasticsearch/gateway/MetadataStateFormat.java index 8a99f1a2b29..0b11f3a2d83 100644 --- a/server/src/main/java/org/elasticsearch/gateway/MetadataStateFormat.java +++ b/server/src/main/java/org/elasticsearch/gateway/MetadataStateFormat.java @@ -425,7 +425,7 @@ public abstract class MetadataStateFormat { * * @param logger a logger instance. * @param dataLocations the data-locations to try. - * @return tuple of the latest state and generation. (-1, null) if no state is found. + * @return tuple of the latest state and generation. (null, -1) if no state is found. */ public Tuple loadLatestStateWithGeneration(Logger logger, NamedXContentRegistry namedXContentRegistry, Path... dataLocations) throws IOException {