Skip to content

Commit

Permalink
some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyuan123 committed Sep 30, 2021
1 parent 8fd3c11 commit 166e15a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/Deadline.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ public void printTask() {

@Override
public String getTextString() {
return ("D" + "|" + super.getStatusValue() + "|" + super.getDescription() + "|" + by +"\n");
return ("D" + "|" + super.getStatusValue() + "|" + super.getDescription() + "|" + by + "\n");
}
}
4 changes: 2 additions & 2 deletions src/main/java/Event.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
public class Event extends Task{
public class Event extends Task {
protected String at;

public Event(String description, String at) {
Expand All @@ -8,7 +8,7 @@ public Event(String description, String at) {

@Override
public void printTask() {
System.out.println("[E]" + super.getStatusIcon() + super.getDescription() + "(at: " + at + ")" );
System.out.println("[E]" + super.getStatusIcon() + super.getDescription() + "(at: " + at + ")");
}

@Override
Expand Down

0 comments on commit 166e15a

Please sign in to comment.