Skip to content

Commit fdfd385

Browse files
Made toChoice private
1 parent 7d76826 commit fdfd385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/user_preferences/commands/PreferencesSetSubcommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void execute(@NotNull SlashCommandInteractionEvent event) {
5050
}
5151
}
5252

53-
public Command.Choice toChoice(@NotNull Preference preference) {
53+
private Command.Choice toChoice(@NotNull Preference preference) {
5454
return new Command.Choice(preference.toString(), String.valueOf(preference.ordinal()));
5555
}
5656
}

0 commit comments

Comments
 (0)