77
88import java .util .stream .Stream ;
99
10- import seedu .address .logic .commands .DeleteStudentCommand ;
10+ import seedu .address .logic .commands .DelStudentCommand ;
1111import seedu .address .logic .parser .exceptions .ParseException ;
1212import seedu .address .model .group .GrpContainsKeywordPredicate ;
1313
14- public class DeleteStudentCommandParser implements Parser <DeleteStudentCommand > {
14+ public class DelStudentCommandParser implements Parser <DelStudentCommand > {
1515
1616 private final ParseException deleteStudentCommandParserException = new ParseException (
17- String .format (MESSAGE_INVALID_COMMAND_FORMAT , DeleteStudentCommand .MESSAGE_USAGE ));
17+ String .format (MESSAGE_INVALID_COMMAND_FORMAT , DelStudentCommand .MESSAGE_USAGE ));
1818
1919 @ Override
20- public DeleteStudentCommand parse (String args ) throws ParseException {
20+ public DelStudentCommand parse (String args ) throws ParseException {
2121 ArgumentMultimap argMultimap = ArgumentTokenizer .tokenize (args , PREFIX_GRP , PREFIX_STUDENT , PREFIX_ID );
2222
2323 if (!arePrefixesPresent (argMultimap , PREFIX_GRP , PREFIX_STUDENT , PREFIX_ID ) || !argMultimap .getPreamble ()
@@ -41,7 +41,7 @@ public DeleteStudentCommand parse(String args) throws ParseException {
4141 String studentId = studentIdArray [0 ];
4242 String grpName = grpKeywordArray [0 ];
4343
44- return new DeleteStudentCommand (studentName , studentId , new GrpContainsKeywordPredicate (grpName ));
44+ return new DelStudentCommand (studentName , studentId , new GrpContainsKeywordPredicate (grpName ));
4545 }
4646
4747 private static boolean arePrefixesPresent (ArgumentMultimap argumentMultimap , Prefix ... prefixes ) {
0 commit comments