-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7babbb5
commit 660b17e
Showing
9 changed files
with
2,556 additions
and
2,556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"path":"src/main/java/Duke.java","fileType":"java","lines":[{"lineNumber":1,"author":{"gitId":"Heart-of-N1"},"content":"import java.util.Scanner;","lastModifiedDate":"2024-01-30"},{"lineNumber":2,"author":{"gitId":"-"},"content":"public class Duke {","lastModifiedDate":"2019-07-29"},{"lineNumber":3,"author":{"gitId":"Heart-of-N1"},"content":" static String BREAK_LINE \u003d \"____________________________________________________________\";","lastModifiedDate":"2024-01-31"},{"lineNumber":4,"author":{"gitId":"Heart-of-N1"},"content":" static String DONE \u003d \"[X]\";","lastModifiedDate":"2024-01-31"},{"lineNumber":5,"author":{"gitId":"Heart-of-N1"},"content":" static String NOT_DONE \u003d \"[ ]\";","lastModifiedDate":"2024-01-31"},{"lineNumber":6,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":7,"author":{"gitId":"-"},"content":" public static void main(String[] args) {","lastModifiedDate":"2019-07-29"},{"lineNumber":8,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(BREAK_LINE + \"\\nHello! I\u0027m Jeremy.\\nWhat can I do for you?\\n\" + BREAK_LINE);","lastModifiedDate":"2024-01-31"},{"lineNumber":9,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":10,"author":{"gitId":"Heart-of-N1"},"content":" String[] tasks \u003d new String[100];","lastModifiedDate":"2024-01-30"},{"lineNumber":11,"author":{"gitId":"Heart-of-N1"},"content":" String[] doneCheck \u003d new String[100];","lastModifiedDate":"2024-01-30"},{"lineNumber":12,"author":{"gitId":"Heart-of-N1"},"content":" int count \u003d 0;","lastModifiedDate":"2024-01-30"},{"lineNumber":13,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":14,"author":{"gitId":"Heart-of-N1"},"content":" Scanner in \u003d new Scanner(System.in);","lastModifiedDate":"2024-01-30"},{"lineNumber":15,"author":{"gitId":"Heart-of-N1"},"content":" String line;","lastModifiedDate":"2024-01-30"},{"lineNumber":16,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":17,"author":{"gitId":"Heart-of-N1"},"content":" do {","lastModifiedDate":"2024-01-30"},{"lineNumber":18,"author":{"gitId":"Heart-of-N1"},"content":" line \u003d in.nextLine();","lastModifiedDate":"2024-01-30"},{"lineNumber":19,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(BREAK_LINE);","lastModifiedDate":"2024-01-31"},{"lineNumber":20,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":21,"author":{"gitId":"Heart-of-N1"},"content":" if (!line.equals(\"bye\")) {","lastModifiedDate":"2024-01-30"},{"lineNumber":22,"author":{"gitId":"Heart-of-N1"},"content":" if (line.equals(\"list\")) {","lastModifiedDate":"2024-01-30"},{"lineNumber":23,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":24,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(\"Here are the tasks in your list:\");","lastModifiedDate":"2024-01-30"},{"lineNumber":25,"author":{"gitId":"Heart-of-N1"},"content":" for (int i \u003d 0; i \u003c count; i++) {","lastModifiedDate":"2024-01-30"},{"lineNumber":26,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":27,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println((i + 1) + \".\" + doneCheck[i] + \" \" + tasks[i]);","lastModifiedDate":"2024-01-30"},{"lineNumber":28,"author":{"gitId":"Heart-of-N1"},"content":" }","lastModifiedDate":"2024-01-30"},{"lineNumber":29,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(BREAK_LINE);","lastModifiedDate":"2024-01-31"},{"lineNumber":30,"author":{"gitId":"Heart-of-N1"},"content":" } else if (line.contains(\"unmark\")) {","lastModifiedDate":"2024-01-30"},{"lineNumber":31,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":32,"author":{"gitId":"Heart-of-N1"},"content":" String[] parts \u003d line.split(\" \");","lastModifiedDate":"2024-01-30"},{"lineNumber":33,"author":{"gitId":"Heart-of-N1"},"content":" int taskMarkNumber \u003d Integer.parseInt(parts[1]) - 1;","lastModifiedDate":"2024-01-30"},{"lineNumber":34,"author":{"gitId":"Heart-of-N1"},"content":" doneCheck[taskMarkNumber] \u003d NOT_DONE;","lastModifiedDate":"2024-01-31"},{"lineNumber":35,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(\"OK, I\u0027ve marked this task as not done yet:\");","lastModifiedDate":"2024-01-30"},{"lineNumber":36,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(doneCheck[taskMarkNumber] + \" \" + tasks[taskMarkNumber] + \"\\n\" + BREAK_LINE);","lastModifiedDate":"2024-01-31"},{"lineNumber":37,"author":{"gitId":"Heart-of-N1"},"content":" } else if (line.contains(\"mark\")){","lastModifiedDate":"2024-01-30"},{"lineNumber":38,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":39,"author":{"gitId":"Heart-of-N1"},"content":" String[] parts \u003d line.split(\" \");","lastModifiedDate":"2024-01-30"},{"lineNumber":40,"author":{"gitId":"Heart-of-N1"},"content":" int taskMarkNumber \u003d Integer.parseInt(parts[1]) - 1;","lastModifiedDate":"2024-01-30"},{"lineNumber":41,"author":{"gitId":"Heart-of-N1"},"content":" doneCheck[taskMarkNumber] \u003d DONE;","lastModifiedDate":"2024-01-31"},{"lineNumber":42,"author":{"gitId":"-"},"content":" System.out.println(\"Nice! I\u0027ve marked this task as done:\");","lastModifiedDate":"2024-01-30"},{"lineNumber":43,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(doneCheck[taskMarkNumber] + \" \" + tasks[taskMarkNumber] + \"\\n\" + BREAK_LINE);","lastModifiedDate":"2024-01-31"},{"lineNumber":44,"author":{"gitId":"Heart-of-N1"},"content":" } else {","lastModifiedDate":"2024-01-30"},{"lineNumber":45,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":46,"author":{"gitId":"Heart-of-N1"},"content":" tasks[count] \u003d line;","lastModifiedDate":"2024-01-30"},{"lineNumber":47,"author":{"gitId":"Heart-of-N1"},"content":" doneCheck[count] \u003d NOT_DONE;","lastModifiedDate":"2024-01-31"},{"lineNumber":48,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(\"added: \" + line + \"\\n\" + BREAK_LINE);","lastModifiedDate":"2024-01-31"},{"lineNumber":49,"author":{"gitId":"Heart-of-N1"},"content":" count++;","lastModifiedDate":"2024-01-30"},{"lineNumber":50,"author":{"gitId":"Heart-of-N1"},"content":" }","lastModifiedDate":"2024-01-30"},{"lineNumber":51,"author":{"gitId":"Heart-of-N1"},"content":" }","lastModifiedDate":"2024-01-30"},{"lineNumber":52,"author":{"gitId":"Heart-of-N1"},"content":" } while (!line.equals(\"bye\"));","lastModifiedDate":"2024-01-30"},{"lineNumber":53,"author":{"gitId":"Heart-of-N1"},"content":"","lastModifiedDate":"2024-01-30"},{"lineNumber":54,"author":{"gitId":"Heart-of-N1"},"content":" System.out.println(\"Bye. Hope to see you again soon!\\n\" + BREAK_LINE);","lastModifiedDate":"2024-01-31"},{"lineNumber":55,"author":{"gitId":"-"},"content":" }","lastModifiedDate":"2019-07-29"},{"lineNumber":56,"author":{"gitId":"-"},"content":"}","lastModifiedDate":"2019-07-29"}],"authorContributionMap":{"Heart-of-N1":51,"-":5}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"authorDailyContributionsMap":{"Heart-of-N1":[{"date":"2024-01-30","commitResults":[{"hash":"3c1efc24a148733b5f3013fd5696d1c3fac99a66","isMergeCommit":false,"messageTitle":"Added Level 0.","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":7,"deletions":7}}},{"hash":"f6209a87971a39591d23491019330176f283d154","isMergeCommit":false,"messageTitle":"Added Level-1 from week 3.","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":13,"deletions":0}}},{"hash":"e04458fbfd14178e05a20cb216e9d327a7969de3","isMergeCommit":false,"messageTitle":"Added Level 2 of week 3.","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":17,"deletions":6}}},{"hash":"774d367a473154a3faf56937c14231a6a1ded468","isMergeCommit":false,"messageTitle":"Added Level-3 for week 3.","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":24,"deletions":2}}}]},{"date":"2024-01-31","commitResults":[{"hash":"34baab0af81d32c4745fcbca571bb146752c80c4","isMergeCommit":false,"messageTitle":"A-CodingStandard for week 3 added.","messageBody":"","tags":["Level3","Level2","Level1","Level0"],"fileTypesAndContributionMap":{"java":{"insertions":13,"deletions":13}}}]}]},"authorFileTypeContributionMap":{"Heart-of-N1":{"java":51,"md":0,"fxml":0,"sh":0,"bat":0,"gradle":0,"txt":0}},"authorContributionVariance":{"Heart-of-N1":434.74557},"authorDisplayNameMap":{"Heart-of-N1":"SHAO..IZHE"}} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"authorDailyContributionsMap":{"Luo-Z-Y":[{"date":"2024-01-26","commitResults":[{"hash":"7bf219233887cfc3c633b739141d41ec10e598af","isMergeCommit":false,"messageTitle":"Level-0","messageBody":"","tags":["Level-0"],"fileTypesAndContributionMap":{"java":{"insertions":8,"deletions":10}}}]},{"date":"2024-01-29","commitResults":[{"hash":"6ab36d2ef74c288881807aa018df174dd40374b6","isMergeCommit":false,"messageTitle":"Level-1","messageBody":"","tags":["Level-1"],"fileTypesAndContributionMap":{"java":{"insertions":14,"deletions":0}}}]},{"date":"2024-01-30","commitResults":[{"hash":"ec4591d8cce5be30c639a8677496659d1c4c96bb","isMergeCommit":false,"messageTitle":"Level-2","messageBody":"","tags":["Level-2"],"fileTypesAndContributionMap":{"java":{"insertions":14,"deletions":2}}},{"hash":"5548c0e98304282cff48e23ac2e34fb6e8a71841","isMergeCommit":false,"messageTitle":"Level-3","messageBody":"","tags":["Level-3"],"fileTypesAndContributionMap":{"java":{"insertions":121,"deletions":20}}}]}]},"authorFileTypeContributionMap":{"Luo-Z-Y":{"java":56,"md":0,"fxml":0,"sh":0,"bat":0,"gradle":0,"txt":0}},"authorContributionVariance":{"Luo-Z-Y":1849.3541},"authorDisplayNameMap":{"Luo-Z-Y":"LUO ..YANG"}} | ||
{"authorDailyContributionsMap":{"Luo-Z-Y":[{"date":"2024-01-26","commitResults":[{"hash":"7bf219233887cfc3c633b739141d41ec10e598af","isMergeCommit":false,"messageTitle":"Level-0","messageBody":"","tags":["Level-0"],"fileTypesAndContributionMap":{"java":{"insertions":8,"deletions":10}}}]},{"date":"2024-01-29","commitResults":[{"hash":"6ab36d2ef74c288881807aa018df174dd40374b6","isMergeCommit":false,"messageTitle":"Level-1","messageBody":"","tags":["Level-1"],"fileTypesAndContributionMap":{"java":{"insertions":14,"deletions":0}}}]},{"date":"2024-01-30","commitResults":[{"hash":"ec4591d8cce5be30c639a8677496659d1c4c96bb","isMergeCommit":false,"messageTitle":"Level-2","messageBody":"","tags":["Level-2"],"fileTypesAndContributionMap":{"java":{"insertions":14,"deletions":2}}},{"hash":"5548c0e98304282cff48e23ac2e34fb6e8a71841","isMergeCommit":false,"messageTitle":"Level-3","messageBody":"","tags":["Level-3"],"fileTypesAndContributionMap":{"java":{"insertions":121,"deletions":20}}}]},{"date":"2024-02-04","commitResults":[{"hash":"81c6f12df062aa17d46e719bdf4abb24f00c7a3f","isMergeCommit":false,"messageTitle":"Level-4 wip","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":201,"deletions":80}}}]}]},"authorFileTypeContributionMap":{"Luo-Z-Y":{"java":256,"md":0,"fxml":0,"sh":0,"bat":0,"gradle":0,"txt":0}},"authorContributionVariance":{"Luo-Z-Y":5360.9336},"authorDisplayNameMap":{"Luo-Z-Y":"LUO ..YANG"}} |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"authorDailyContributionsMap":{"pqienso":[{"date":"2024-01-26","commitResults":[{"hash":"3131c873d539cee2aeba3c31f7486306a8b88236","isMergeCommit":false,"messageTitle":"Rename to bean; add skeletal code","messageBody":"","tags":["Level-0"],"fileTypesAndContributionMap":{"java":{"insertions":9,"deletions":10}}}]},{"date":"2024-01-29","commitResults":[{"hash":"c7dc7e35bac55e095b9b158d12d9d96616df5dbd","isMergeCommit":false,"messageTitle":"Add echo functionality","messageBody":"","tags":["Level-1"],"fileTypesAndContributionMap":{"java":{"insertions":14,"deletions":5}}},{"hash":"507f53a5192ed56beb0a190bd494dbaf8573ff07","isMergeCommit":false,"messageTitle":"Add list functionality","messageBody":"","tags":["Level-2"],"fileTypesAndContributionMap":{"java":{"insertions":24,"deletions":2}}},{"hash":"32de0a9bfe1787bf59b4b1de64d0c5cf42b3f55c","isMergeCommit":false,"messageTitle":"Refactor bean to use task class","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":39,"deletions":5}}},{"hash":"2e4881febe07d608dc2474b8b18478c61dbed801","isMergeCommit":false,"messageTitle":"Add checklist functionality","messageBody":"","tags":["Level-3"],"fileTypesAndContributionMap":{"java":{"insertions":27,"deletions":3}}},{"hash":"adbe00fa8dd73b0163b92fb722855712391012bc","isMergeCommit":false,"messageTitle":"Add line separators after each command","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":9,"deletions":5}}}]},{"date":"2024-02-02","commitResults":[{"hash":"06054e1a9ae1b47b77337cfd85fe6f9b3e9d9758","isMergeCommit":false,"messageTitle":"Change style to follow standard","messageBody":"","tags":["A-CodingStandard"],"fileTypesAndContributionMap":{"java":{"insertions":17,"deletions":23}}}]},{"date":"2024-02-03","commitResults":[{"hash":"8eccd8df6d24667a8b54099536e193772f14948d","isMergeCommit":false,"messageTitle":"Add Parser, ToDo, Event, Deadline classes","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":223,"deletions":46}}},{"hash":"ac85c6a717763bdfd2f3dfa96563576b5657ed02","isMergeCommit":false,"messageTitle":"Reformat code","messageBody":"","tags":["Level-4"],"fileTypesAndContributionMap":{"java":{"insertions":17,"deletions":21}}}]},{"date":"2024-02-04","commitResults":[{"hash":"1d90f83541091f006b79c34c9046adee01af83d8","isMergeCommit":false,"messageTitle":"Refactor Bean to use TaskList class, add task counter","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":93,"deletions":34}}}]}]},"authorFileTypeContributionMap":{"pqienso":{"java":328,"md":0,"fxml":0,"sh":0,"bat":0,"gradle":0,"txt":0}},"authorContributionVariance":{"pqienso":6292.734},"authorDisplayNameMap":{"pqienso":"LIM ..U AN"}} | ||
{"authorDailyContributionsMap":{"pqienso":[{"date":"2024-01-26","commitResults":[{"hash":"3131c873d539cee2aeba3c31f7486306a8b88236","isMergeCommit":false,"messageTitle":"Rename to bean; add skeletal code","messageBody":"","tags":["Level-0"],"fileTypesAndContributionMap":{"java":{"insertions":9,"deletions":10}}}]},{"date":"2024-01-29","commitResults":[{"hash":"c7dc7e35bac55e095b9b158d12d9d96616df5dbd","isMergeCommit":false,"messageTitle":"Add echo functionality","messageBody":"","tags":["Level-1"],"fileTypesAndContributionMap":{"java":{"insertions":14,"deletions":5}}},{"hash":"507f53a5192ed56beb0a190bd494dbaf8573ff07","isMergeCommit":false,"messageTitle":"Add list functionality","messageBody":"","tags":["Level-2"],"fileTypesAndContributionMap":{"java":{"insertions":24,"deletions":2}}},{"hash":"32de0a9bfe1787bf59b4b1de64d0c5cf42b3f55c","isMergeCommit":false,"messageTitle":"Refactor bean to use task class","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":39,"deletions":5}}},{"hash":"2e4881febe07d608dc2474b8b18478c61dbed801","isMergeCommit":false,"messageTitle":"Add checklist functionality","messageBody":"","tags":["Level-3"],"fileTypesAndContributionMap":{"java":{"insertions":27,"deletions":3}}},{"hash":"adbe00fa8dd73b0163b92fb722855712391012bc","isMergeCommit":false,"messageTitle":"Add line separators after each command","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":9,"deletions":5}}}]},{"date":"2024-02-02","commitResults":[{"hash":"06054e1a9ae1b47b77337cfd85fe6f9b3e9d9758","isMergeCommit":false,"messageTitle":"Change style to follow standard","messageBody":"","tags":["A-CodingStandard"],"fileTypesAndContributionMap":{"java":{"insertions":17,"deletions":23}}}]},{"date":"2024-02-03","commitResults":[{"hash":"8eccd8df6d24667a8b54099536e193772f14948d","isMergeCommit":false,"messageTitle":"Add Parser, ToDo, Event, Deadline classes","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":223,"deletions":46}}},{"hash":"ac85c6a717763bdfd2f3dfa96563576b5657ed02","isMergeCommit":false,"messageTitle":"Reformat code","messageBody":"","tags":["Level-4"],"fileTypesAndContributionMap":{"java":{"insertions":17,"deletions":21}}}]},{"date":"2024-02-04","commitResults":[{"hash":"1d90f83541091f006b79c34c9046adee01af83d8","isMergeCommit":false,"messageTitle":"Refactor Bean to use TaskList class, add task counter","messageBody":"","fileTypesAndContributionMap":{"java":{"insertions":93,"deletions":34}}},{"hash":"961f872874ce1c7348f838f10701d5b3d09f6c01","isMergeCommit":false,"messageTitle":"Introduce constants","messageBody":"","tags":["A-CodeQuality"],"fileTypesAndContributionMap":{"java":{"insertions":21,"deletions":10}}}]}]},"authorFileTypeContributionMap":{"pqienso":{"java":339,"md":0,"fxml":0,"sh":0,"bat":0,"gradle":0,"txt":0}},"authorContributionVariance":{"pqienso":6674.8164},"authorDisplayNameMap":{"pqienso":"LIM ..U AN"}} |
Oops, something went wrong.