[Docs] Fix return tuple element order (#58463)

This commit is contained in:
Howard 2020-06-26 18:24:11 +08:00 committed by Christoph Büscher
parent 5149554709
commit eaa60b7c54
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ public abstract class MetadataStateFormat<T> {
* *
* @param logger a logger instance. * @param logger a logger instance.
* @param dataLocations the data-locations to try. * @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<T, Long> loadLatestStateWithGeneration(Logger logger, NamedXContentRegistry namedXContentRegistry, Path... dataLocations) public Tuple<T, Long> loadLatestStateWithGeneration(Logger logger, NamedXContentRegistry namedXContentRegistry, Path... dataLocations)
throws IOException { throws IOException {