fixed typo

This commit is contained in:
Adrian Cole 2011-04-28 17:24:36 -07:00
parent a3dc6cdd03
commit b6bbb9c1c6

View File

@ -222,7 +222,7 @@ public class NodePredicates {
* @return predicate
*/
public static Predicate<NodeMetadata> runningInGroup(final String group) {
Preconditions2.checkNotEmpty(group, "Tag must be defined");
Preconditions2.checkNotEmpty(group, "group must be defined");
return new Predicate<NodeMetadata>() {
@Override
public boolean apply(NodeMetadata nodeMetadata) {