LOG.error(ERR_NI + ERR_MS + o.getClass());
ErrorLog.error(GrouperQuery.class, E.NI + E.Q_MS + o.getClass());
  public Set getMemberships()     throws QueryException  {    Set mships      = new LinkedHashSet();    Set candidates  = this.filter.getResults(this.s);    Iterator iter   = candidates.iterator();    while (iter.hasNext()) {      Object o = iter.next();      if        (o.getClass().equals(Group.class)) {        mships.addAll( ( (Group) o ).getMemberships() );      } else if (o.getClass().equals(Stem.class)) {        // Nothing      }      else {        LOG.error(ERR_NI + ERR_MS + o.getClass());      }    }    return mships;  } // public Set getMemberships()