Skip to content

Commit dcc58b4

Browse files
committed
Delete redundant method in Ui
ui.hasUserInput is not used and hence deleted.
1 parent 20f0cb3 commit dcc58b4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main/java/duke/Ui.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ public String getUserCommand(){
2727
return input;
2828
}
2929

30-
public boolean hasUserInput(){
31-
return scForCommandLine.hasNextLine();
32-
}
30+
3331

3432
/**
3533
* Prints all the tasks stored on the TaskList.

0 commit comments

Comments
 (0)