Skip to content

Commit

Permalink
Fix Checkstyle Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SlothyCat committed Nov 7, 2024
1 parent 2a1efe0 commit ae40f93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public SwitchThemeCommand(String theme) {
public CommandResult execute(Model model) {
requireNonNull(model);
ThemeController.switchTheme(theme);
String themeMessage = theme.substring(0,1).toUpperCase() + theme.substring(1).toLowerCase();
String themeMessage = theme.substring(0, 1).toUpperCase() + theme.substring(1).toLowerCase();
return new CommandResult(String.format(MESSAGE_SUCCESS, themeMessage));
}

Expand Down

0 comments on commit ae40f93

Please sign in to comment.