From a58bed14f14de4d92994e46cc136783aba7fd4c3 Mon Sep 17 00:00:00 2001 From: ziyi105 Date: Sat, 14 Oct 2023 20:17:01 +0800 Subject: [PATCH 1/5] Add Parser.java fixes #8 --- src/main/java/Parser/Parser.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/Parser/Parser.java diff --git a/src/main/java/Parser/Parser.java b/src/main/java/Parser/Parser.java new file mode 100644 index 0000000000..33718c4606 --- /dev/null +++ b/src/main/java/Parser/Parser.java @@ -0,0 +1,9 @@ +package Parser; + +/** + * Parse everything received from the users on terminal + * into a format that can be interpreted by other core classes + */ +public class Parser { + +} From 5ddffe229dba287cf4773bad97938c3b6659e9ef Mon Sep 17 00:00:00 2001 From: ziyi105 Date: Sat, 14 Oct 2023 21:20:44 +0800 Subject: [PATCH 2/5] Parser.java: move from package Parser to seedu.duke.parser --- src/main/java/{Parser => seedu/duke/parser}/Parser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/main/java/{Parser => seedu/duke/parser}/Parser.java (85%) diff --git a/src/main/java/Parser/Parser.java b/src/main/java/seedu/duke/parser/Parser.java similarity index 85% rename from src/main/java/Parser/Parser.java rename to src/main/java/seedu/duke/parser/Parser.java index 33718c4606..e23fe0ca92 100644 --- a/src/main/java/Parser/Parser.java +++ b/src/main/java/seedu/duke/parser/Parser.java @@ -1,4 +1,4 @@ -package Parser; +package seedu.duke.parser; /** * Parse everything received from the users on terminal From b806594dfa85c2c71007f457c46139694b196274 Mon Sep 17 00:00:00 2001 From: ziyi105 Date: Sat, 14 Oct 2023 21:21:21 +0800 Subject: [PATCH 3/5] Add ParserTest.java fixes #12 --- src/test/java/seedu/duke/parser/ParserTest.java | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/test/java/seedu/duke/parser/ParserTest.java diff --git a/src/test/java/seedu/duke/parser/ParserTest.java b/src/test/java/seedu/duke/parser/ParserTest.java new file mode 100644 index 0000000000..2dcf3f6449 --- /dev/null +++ b/src/test/java/seedu/duke/parser/ParserTest.java @@ -0,0 +1,7 @@ +package seedu.duke.parser; + +import static org.junit.jupiter.api.Assertions.*; + +class ParserTest { + +} \ No newline at end of file From 74d345ea8d7fd35e7906b35ae7c5dea5124d0f2f Mon Sep 17 00:00:00 2001 From: ziyi105 Date: Sat, 14 Oct 2023 22:00:31 +0800 Subject: [PATCH 4/5] ParserTest.java: remove wild card import --- src/test/java/seedu/duke/parser/ParserTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/seedu/duke/parser/ParserTest.java b/src/test/java/seedu/duke/parser/ParserTest.java index 2dcf3f6449..9b5a90f96d 100644 --- a/src/test/java/seedu/duke/parser/ParserTest.java +++ b/src/test/java/seedu/duke/parser/ParserTest.java @@ -1,7 +1,5 @@ package seedu.duke.parser; -import static org.junit.jupiter.api.Assertions.*; - class ParserTest { } \ No newline at end of file From 72f47e36ee6fc50c291c3ba56995c48ca4d7adec Mon Sep 17 00:00:00 2001 From: ziyi105 Date: Sun, 15 Oct 2023 00:18:22 +0800 Subject: [PATCH 5/5] ParserTest.java: add a new line at the end of the file --- src/test/java/seedu/duke/parser/ParserTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/seedu/duke/parser/ParserTest.java b/src/test/java/seedu/duke/parser/ParserTest.java index 9b5a90f96d..4bb8562b64 100644 --- a/src/test/java/seedu/duke/parser/ParserTest.java +++ b/src/test/java/seedu/duke/parser/ParserTest.java @@ -2,4 +2,4 @@ class ParserTest { -} \ No newline at end of file +}