From 43e038d3ec868387791ffae738482627de6e574b Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 19 Aug 2024 02:49:46 +0200 Subject: [PATCH] Add correct @since tag to ListFormatter --- .../sosengine/base/utility/ListFormatter.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/ListFormatter.java b/base/src/main/java/de/staropensource/sosengine/base/utility/ListFormatter.java index 44da662..8d2c9ac 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/ListFormatter.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/ListFormatter.java @@ -27,13 +27,14 @@ import java.util.Set; /** * Converts various data types to {@link String}s. - * This class is unfinished. * - * @since v1-alpha0 + * @since v1-alpha4 */ public final class ListFormatter { /** * Constructs this class. + * + * @since v1-alpha4 */ public ListFormatter() {} @@ -42,6 +43,7 @@ public final class ListFormatter { * * @param array array to convert * @return formatted string + * @since v1-alpha4 */ public static @NotNull String formatArray(@NotNull Object[] array) { StringBuilder output = new StringBuilder(); @@ -64,6 +66,7 @@ public final class ListFormatter { * * @param set set to convert * @return formatted string + * @since v1-alpha4 */ public static @NotNull String formatSet(@NotNull Set set) { return formatArray(set.toArray()); @@ -74,6 +77,7 @@ public final class ListFormatter { * * @param list list to convert * @return formatted string + * @since v1-alpha4 */ public static @NotNull String formatList(@NotNull List list) { return formatArray(list.toArray()); @@ -84,6 +88,7 @@ public final class ListFormatter { * * @param map map to convert * @return formatted string + * @since v1-alpha4 */ public static @NotNull String formatMap(@NotNull Map map) { StringBuilder output = new StringBuilder();