From 32f3d14682f4d85ebce4c361515bd4f4ee84261a Mon Sep 17 00:00:00 2001 From: mfnalex Date: Tue, 29 Aug 2023 00:57:42 +0200 Subject: [PATCH] added missing @NotNull to the returned List's type parameter and the parameter List's type parameter (is that proper English?) --- src/main/java/me/clip/placeholderapi/PlaceholderAPI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java index 632bd62..366ef63 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java @@ -136,8 +136,8 @@ public final class PlaceholderAPI { * @return String containing all translated placeholders */ @NotNull - public static List setBracketPlaceholders(final OfflinePlayer player, - @NotNull final List text) { + public static List<@NotNull String> setBracketPlaceholders(final OfflinePlayer player, + @NotNull final List<@NotNull String> text) { return text.stream().map(line -> setBracketPlaceholders(player, line)) .collect(Collectors.toList()); }