Set mships = new LinkedHashSet();
Set     mships  = new LinkedHashSet(); String  msg     = "findMembershipsWhereGroupIsMember"; GrouperLog.debug(LOG, orig, msg);
  private static Set _findMembershipsWhereGroupIsMember(    GrouperSession s, Group g, Member m, Set isMember  )   {    Set mships = new LinkedHashSet();    // Add m to where g is a member    Iterator iter = isMember.iterator();    while (iter.hasNext()) {      Membership  ms    = (Membership) iter.next();      int         depth = ms.getDepth() + 1;      String      vid   = ms.getVia_id();      if (vid == null) {        vid = g.getUuid();      }      Membership msGisM = new Membership(        s, ms.getOwner_id(), m, Group.getDefaultList(), vid, depth      );      mships.add(msGisM);    }    return mships;  } // private static Set _findMembershipsWhereGroupIsMember(s, g, m, isMember)