added missing @NotNull to the returned List's type parameter and the parameter List's type parameter (is that proper English?)

This commit is contained in:
mfnalex 2023-08-29 00:57:42 +02:00
parent 152105017d
commit 32f3d14682
No known key found for this signature in database
GPG Key ID: 4A5852356225BAE1
1 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,8 @@ public final class PlaceholderAPI {
* @return String containing all translated placeholders
*/
@NotNull
public static List<String> setBracketPlaceholders(final OfflinePlayer player,
@NotNull final List<String> 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());
}