Skip to content

Commit

Permalink
update javadoc code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
rexkoh425 committed Oct 9, 2024
1 parent 7cfb026 commit c09a4b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/main/java/thethinker/parser/UserInputParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public static String parseUserAction() {
/**
* Obtains task number after inputting commands that require task number.
*
* @return Task number.
* @throws NumberFormatException If task number string provided is not a number.
* @throws FormattingException If no task or multiple task number is provided.
*/
Expand Down
14 changes: 3 additions & 11 deletions src/main/java/thethinker/ui/UiControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,10 @@ static void printHelp() {
static void printCommands() {
System.out.println("Command entered is not valid. Available commands are");
String[] commands = {
"mark" ,
"unmark" ,
"todo" ,
"delete",
"event" ,
"deadline" ,
"list" ,
"bye" ,
"get" ,
"find",
"help (get format)"
"mark" , "unmark" , "todo" , "delete", "event" , "deadline" , "list" , "bye" ,
"get" , "find", "help (get format)"
};

for (String command : commands) {
System.out.println("- " + command);
}
Expand Down

0 comments on commit c09a4b2

Please sign in to comment.