if (SubjectHelper.eq(subj, cached)) {  } else {
if (!SubjectHelper.eq(subj, cached)) {
  protected void put(Subject subj) {    String key = this._getKey(subj.getId(), subj.getType().getName());    if (this.cache.containsKey(key)) {      Subject cached = (Subject) this.cache.get(key);      if (SubjectHelper.eq(subj, cached)) {        // Already cached. Skip.      }      else {        // Already cached but not the same subject.  Presumably this is        // a subject that cannot be uniquely resolved.  Remove it from        // the cache.        this.cache.remove(key);        }    }    else {      this.cache.put(key, subj);    }  } // protected void put(subj)