From f9f1a21cabc28b313171b63ec1b11a76560bddd2 Mon Sep 17 00:00:00 2001 From: SirYwell Date: Sun, 3 Jul 2022 12:02:15 +0200 Subject: [PATCH] fix javadoc --- .../configuration/caption/load/CaptionLoader.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/configuration/caption/load/CaptionLoader.java b/Core/src/main/java/com/plotsquared/core/configuration/caption/load/CaptionLoader.java index df2342ac5..ca6e934b0 100644 --- a/Core/src/main/java/com/plotsquared/core/configuration/caption/load/CaptionLoader.java +++ b/Core/src/main/java/com/plotsquared/core/configuration/caption/load/CaptionLoader.java @@ -190,9 +190,8 @@ public final class CaptionLoader { /** * Load a message file into a new CaptionMap. The file name must match - * the pattern {@code messages_.json} where {@code } - * is a valid {@link Locale} string. Note that this method does not attempt to - * create a new file. + * the pattern expected by the {@link #localeExtractor}. + * Note that this method does not attempt to create a new file. * * @param file The file to load * @return A new CaptionMap containing the loaded messages @@ -213,15 +212,16 @@ public final class CaptionLoader { /** * Load a message file into a new CaptionMap. The file name must match - * the pattern {@code messages_.json} where {@code } - * is a valid {@link Locale} string. If no file exists at the given path, this method will + * the pattern expected by the {@link #localeExtractor}. + * If no file exists at the given path, this method will * attempt to create one and fill it with default values. * * @param file The file to load * @return A new CaptionMap containing the loaded messages * @throws IOException if the file couldn't be accessed or read successfully. * @throws IllegalArgumentException if the file name doesn't match the specified format. - * @see #loadOrCreateSingle(Path) + * @see #loadSingle(Path) + * @since TODO */ public @NonNull CaptionMap loadOrCreateSingle(final @NonNull Path file) throws IOException { final Locale locale = this.localeExtractor.apply(file);