if (task.getVerb().equals(Verb.getVerb(vString))) {
if (task.getVerb().equals(Verb.get(vString))) {
  protected UnaryPredicate taskPred(String verbString) {    final String vString = verbString;    return new UnaryPredicate() {      public boolean execute(Object o) {        if (o instanceof Task) {          Task task = (Task) o;          if (task.getVerb().equals(Verb.getVerb(vString))) {            return true;          }        }         return false;      }    };  }