diff --git a/docs/README.md b/docs/README.md index 079469a6f0..7e44066c69 100644 --- a/docs/README.md +++ b/docs/README.md @@ -208,7 +208,7 @@ Undoes a change that you have made. > ``` > > * This undoes the previous change, which is creating a todo called `assignment`, -> * The Task list is rolled back to its previous state, before that todo was created. +> * The task list is rolled back to its previous state, before that todo was created. > **Example** > @@ -223,7 +223,7 @@ Undoes a change that you have made. > * This undoes the previous two changes, which is creating a deadline called `homework` > and a todo called `assignment`. > * `list` does not modify the anything, so is not included as a change. -> * The Task list is rolled back to its previous state, before the todo and deadline were created. +> * The task list is rolled back to its previous state, before the todo and deadline were created. ### Resizing your chatbot @@ -283,6 +283,7 @@ Command refers to some text that a user can input, which results in the executio and displays something in the chat. The execution can be either successful or unsuccessful (gives error message). * `name` refers to a word, or a group of words, that are within brackets or after a forward slash. * The `name` at the start of a command refers to the name of the command. + * `name`s are trimmed, whitespace before and after it are removed. * Square brackets (`[`, `]`) around an argument represents an **optional** argument, which does not have to be included. * Angled brackets (`<`, `>`) around a `name` represents the name of the value of the argument. * Forward slash `/` followed by a `name` represents the name of the argument. @@ -295,4 +296,4 @@ Argument refers to some text that starts with a forward slash, followed by possi * If the **same** argument is provided more than once, only the first instance of that argument is read. For example, in `deadline cs2103t quiz /by today /by tomorrow`, the `by_date` is read as `today`, and `tomorrow` is ignored. -* Invalid or missing arguments (and their values), will display an error to the user. \ No newline at end of file +* Invalid or missing arguments (and their values), will display an error to the user. diff --git a/src/main/java/chatbot/action/Action.java b/src/main/java/chatbot/action/Action.java index e5754d7809..f56c80cdde 100644 --- a/src/main/java/chatbot/action/Action.java +++ b/src/main/java/chatbot/action/Action.java @@ -15,9 +15,8 @@ * An Action encapsulates the behaviour of a {@link Command} and it's {@link Argument}(s). *
- * ModifyAction <: Action
- * IndexableAction <: ModifyAction
+ *
ModifyAction <: Action
+ * IndexableAction <: ModifyAction
*
* @author Titus Chew
*/