private void _writePrivileges(String privilege, Set subjects, Owner gos, String padding)
private void _writePrivileges(String privilege, Set subjects, Owner gos)
  private void _writePrivileges(String privilege, Set subjects, Owner gos, String padding)    throws  IOException,            MemberNotFoundException  {    if (subjects.size() == 1) {      subjects.remove(sysUser);    }    if (subjects.isEmpty()) {      LOG.debug("No privilegees with [" + privilege + "] for " + gos.getName());      return;    }    LOG.debug("Writing privilegees with [" + privilege + "] for " + gos.getName());    this.xml.puts();    this.xml.put(padding);    this.xml.puts("<privileges type='" + privilege + "'>");    Iterator  subjIterator  = subjects.iterator();    Subject   subject;    boolean   isImmediate   = false;    while (subjIterator.hasNext()) {      subject     = (Subject) subjIterator.next();      isImmediate = hasImmediatePrivilege(subject, gos, privilege);      if (        (!"GrouperSystem".equals(subject.getId()))        &&         (isImmediate || !_optionTrue("export.privs.immediate-only")))       {        this._writeSubject(subject, " immediate='" + isImmediate + "' ", padding + "  ");      }    }    this.xml.put(padding);    this.xml.puts("</privileges> <!--/privilege=" + privilege + "-->");  } // private void _writePrivileges(privilege, subjects, gos, padding)