mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-17 12:36:53 +01:00
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:
parent
152105017d
commit
32f3d14682
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user