@@ -37,12 +37,12 @@ public class Message {
3737
3838 public static final String DELETE_ERROR = "Sorry, invalid command!\n Try: delete <task index>" ;
3939
40- public static final String DESCRIPTION_ERROR = "Oops! The description of a task can't be empty!" ;
40+ public static final String EMPTY_DESCRIPTION_ERROR = "Oops! The description of a task can't be empty!" ;
4141
4242 public static final String INDEX_ERROR = "Sounds like you have the wrong task index, "
4343 + "I can't really hear you through your water bowl!" ;
4444
45- public static final String TIME_ERROR = "Your date time format is incorrect.\n "
45+ public static final String TIME_FORMAT_ERROR = "Your date time format is incorrect.\n "
4646 + "Try: yyyy-mm-dd HHmm" ;
4747
4848 public static final String EVENT_FORMAT_ERROR = "Your event format is incorrect.\n "
@@ -51,17 +51,17 @@ public class Message {
5151 public static final String DEADLINE_FORMAT_ERROR = "Your deadline format is incorrect.\n "
5252 + "Try: deadline <description> /by <date time>" ;
5353
54- public static final String FIND_ERROR = "Sorry, that format isn't right!\n Try: find <keyword>" ;
54+ public static final String FIND_FORMAT_ERROR = "Sorry, that format isn't right!\n Try: find <keyword>" ;
5555
5656 public static final String KEYWORD_ERROR = "Aww, Cute couldn't fish up any results from that keyword." ;
5757
5858 public static final String UPDATE_GENERAL_ERROR = "Wrong command format! Try:\n "
5959 + "'update description <index> <new description>' or 'update time <index> <new time>" ;
6060
61- public static final String UPDATE_DESC_GENERAL_ERROR = "Wrong command format! Try:\n "
61+ public static final String UPDATE_DESC_ERROR = "Wrong command format! Try:\n "
6262 + "update description <index> <new description>" ;
6363
64- public static final String UPDATE_TIME_GENERAL_ERROR = "Wrong command format! Try:\n "
64+ public static final String UPDATE_TIME_ERROR = "Wrong command format! Try:\n "
6565 + "update time <index> <new time>" ;
6666
6767 public static final String TODO_TIME_ERROR = "Oops, a todo doesn't have a time! Try again." ;
0 commit comments