private boolean isTargetGroup(final Group group) {
    notNull(group);
    final String targetGroups = getTargetGroups();
    // null, means all groups are target groups
    return targetGroups == null || targetGroups.contains(group.getName());
  }
private boolean isTargetGroup(final Group group) {
    notNull(group);
    final String targetGroups = getTargetGroups();
    
    return targetGroups == null || targetGroups.contains(group.getName());
  }
private boolean isTargetGroup ( final Group group ) { notNull ( group ) ; final String targetGroups = getTargetGroups ( ) ; // null, means all groups are target groups return targetGroups == null || targetGroups . contains ( group . getName ( ) ) ; }
Check if the provided group is a target group.
Check if the provided group is a target group .