diff --git a/build.gradle b/build.gradle index dd4bf8e7f3..c1392fc255 100644 --- a/build.gradle +++ b/build.gradle @@ -43,12 +43,12 @@ test { } application { - mainClassName = "duke.Duke" + mainClassName = "jackie.Launcher" } shadowJar { - archiveBaseName = "duke" - archiveVersion = "0.2" + archiveBaseName = "Jackie" + archiveVersion = "1.0" archiveClassifier = null } diff --git a/src/main/java/jackie/command/AddCommand.java b/src/main/java/jackie/command/AddCommand.java index 0132e9e120..132202fe03 100644 --- a/src/main/java/jackie/command/AddCommand.java +++ b/src/main/java/jackie/command/AddCommand.java @@ -20,13 +20,13 @@ public class AddCommand extends Command { public AddCommand(String... command) throws jackie.JackieException { if (command.length == 1) { // guard clause - throw new jackie.JackieException(" ☹ OOPS!!! The description of a task cannot be empty."); + throw new jackie.JackieException(" D: OOPS!!! The description of a task cannot be empty."); } else if (command[0].equals("todo")) { task = new jackie.task.Todo(command); - } else if (Arrays.asList(command).contains("/") || command.length <= 3) { + } else if (Arrays.asList(command).contains("/") && command.length <= 3) { // guard clause throw new jackie.JackieException( - " ☹ HEY DEAR! Please enter a date after / following the task description"); + " D: HEY DEAR! Please enter a date after / following the task description"); } else if (command[0].equals("deadline")) { task = new jackie.task.Deadline(command); } else if (command[0].equals("event")) { diff --git a/src/main/resources/view/DialogBox.fxml b/src/main/resources/view/DialogBox.fxml index 5edcd3212d..76fc849755 100644 --- a/src/main/resources/view/DialogBox.fxml +++ b/src/main/resources/view/DialogBox.fxml @@ -6,7 +6,7 @@ - +