Skip to content

Commit

Permalink
Merge pull request #6 from leowyh/master
Browse files Browse the repository at this point in the history
Completed Checkstyle
  • Loading branch information
leowyh authored Sep 16, 2019
2 parents 8b06d55 + 63c09e6 commit aa6f369
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/main/java/task/Task.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ public String getStatusIcon() {
public void setDone() {
this.isDone = true;
}

/**
* Gets the description of the Task.
* @return Task Description.
*/
public String getDescription() {
return this.description;
}
Expand Down
7 changes: 6 additions & 1 deletion src/main/java/ui/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ public void exceptionMessage(String message) {
System.out.println(message);
System.out.print(line);
}
public Scanner getIn(){

/**
* Returns the scanned input.
* @return Scanned input.
*/
public Scanner getIn() {
return this.in;
}
}

0 comments on commit aa6f369

Please sign in to comment.