Skip to content

Commit

Permalink
Added header comments to FindCommand constructor
Browse files Browse the repository at this point in the history
Added header comments to FindCommand constructor
  • Loading branch information
swxsw committed Nov 6, 2016
1 parent 89f14da commit a6b6431
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ public class FindCommand extends Command {

private final Set<String> keywords;
private HashSet<String> searchScope;


/**
* FindCommand constructor
* @param keywords Keywords to find.
* @param searchScope Attributes of tasks to find keywords, if none specified name, information and tag are searched by default.
* @throws IllegalValueException
*/
public FindCommand(Set<String> keywords, HashSet<String> searchScope) throws IllegalValueException{
if (keywords.isEmpty()){
throw new IllegalValueException(MESSAGE_USAGE);
Expand Down

0 comments on commit a6b6431

Please sign in to comment.