From 166e15a95403626fb7aeb35a2c652f030ca53ce4 Mon Sep 17 00:00:00 2001 From: xingyuan Date: Thu, 30 Sep 2021 21:37:51 +0800 Subject: [PATCH] some minor changes --- src/main/java/Deadline.java | 2 +- src/main/java/Event.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java index 981e2ffdc..37edbca06 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/Deadline.java @@ -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"); } } diff --git a/src/main/java/Event.java b/src/main/java/Event.java index 0a2ae9130..8e1b9ff9f 100644 --- a/src/main/java/Event.java +++ b/src/main/java/Event.java @@ -1,4 +1,4 @@ -public class Event extends Task{ +public class Event extends Task { protected String at; public Event(String description, String at) { @@ -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