Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayushe committed Oct 15, 2019
1 parent 8a8fd49 commit 21c6bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/AddRemark.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ We accomplish that by returning a `CommandResult` with an accompanying message.
.RemarkCommand.java
[source, java]
----
package seedu.address.seedu.algobase.commands;
package seedu.address.logic.commands;
import seedu.address.model.Model;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.util.stream.Stream;

import seedu.algobase.logic.commands.AddCommand;
import seedu.algobase.logic.commands.AddTagCommand;
import seedu.algobase.logic.parser.exceptions.ParseException;
import seedu.algobase.model.tag.Tag;
Expand All @@ -25,7 +24,7 @@ public AddTagCommand parse(String args) throws ParseException {
ArgumentTokenizer.tokenize(args, PREFIX_TAG);
if (!arePrefixesPresent(argMultimap, PREFIX_TAG)
|| !argMultimap.getPreamble().isEmpty()) {
throw new ParseException(String.format(MESSAGE_INVALID_COMMAND_FORMAT, AddCommand.MESSAGE_USAGE));
throw new ParseException(String.format(MESSAGE_INVALID_COMMAND_FORMAT, AddTagCommand.MESSAGE_USAGE));
}
Tag tag = new ParserUtil().parseTag(argMultimap.getValue(PREFIX_TAG).get());
return new AddTagCommand(tag);
Expand Down

0 comments on commit 21c6bd6

Please sign in to comment.