Set resultSet = UnmodifiableSet.decorate(this.assignmentsGranted); resultSet = filterAssignments(resultSet, status); resultSet = filterAssignments(resultSet, subsystem); resultSet = filterAssignmentsByGrantee(resultSet, grantee);  return resultSet;
return this.getAssignmentsGranted(statusSet, subsystem, grantee);
  public Set getAssignmentsGranted    (Status             status,     Subsystem          subsystem,     PrivilegedSubject  grantee)  {    // I really want to handle this purely through Hibernate mappings, but    // I haven't figured out how yet. When we switch to a persistent    // PrivilegedSubject with its own synthetic, simple ID, this code will    // be simplified considerably.    if (this.assignmentsGrantedNotYetFetched == true)    {        // We have not yet fetched the assignments granted by this        // PrivilegedSubject from the database. Let's make a copy of        // whatever in-memory assignments we DO have, because they represent        // granted-but-not-necessarily-yet-persisted assignments.        Set inMemoryAssignments = this.assignmentsGranted;        this.assignmentsGranted = this.signet            .getAssignmentsByGrantor(this.subjectKey);        this.assignmentsGranted.addAll(inMemoryAssignments);        this.assignmentsGrantedNotYetFetched = false;    }    Set resultSet = UnmodifiableSet.decorate(this.assignmentsGranted);    resultSet = filterAssignments(resultSet, status);    resultSet = filterAssignments(resultSet, subsystem);    resultSet = filterAssignmentsByGrantee(resultSet, grantee);    return resultSet;  }