Skip to content

Commit

Permalink
🐛 added some NotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny committed Apr 1, 2024
1 parent b41160f commit dbd47fa
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -25,7 +25,7 @@ public class ExprGetModerators extends SimpleExpression<String> {
}

@Override
protected String @NotNull [] get(Event event) {
protected String @NotNull [] get(@NotNull Event event) {
try {
if (event instanceof BridgeEventChat) {
String channelId = ((BridgeEventChat) event).getEvent().getChannel().getId();
Expand Down Expand Up @@ -62,7 +62,7 @@ public boolean isSingle() {
}

@Override
public boolean init(Expression<?>[] expressions, int i, @NotNull Kleenean kleenean, SkriptParser.@NotNull ParseResult parseResult) {
public boolean init(Expression<?> @NotNull [] expressions, int i, @NotNull Kleenean kleenean, SkriptParser.@NotNull ParseResult parseResult) {
return true;
}
}

0 comments on commit dbd47fa

Please sign in to comment.