if (msg != null) { GrouperLog.debug(LOG, s, msg + " total: " + mships.size()); }
  private static Set _findGroupAsMember(    GrouperSession s, String oid, Member m, Set isMember  )    throws  GroupNotFoundException  {    Set mships      = new LinkedHashSet();    Set hasMembers  = new LinkedHashSet();        if (m.getSubjectTypeId().equals("group")) {      // Convert member back to a group      Group gm = m.toGroup();      // Find members of m      hasMembers = gm.getMemberships();      // Add members of m to g      // Add members of m to where g is a member      mships.addAll(        _findMembershipsOfMember(          s, oid, gm.getUuid(), isMember, hasMembers        )      );    }    return mships;   } // private static Set _findGroupAsMember(s, oid, m, isMember)