code: protected void clearReference (DObject reffer, String field, int reffedOid)
      {
          // look up the reference vector for the referenced object
          Reference[] refs = _refs.get(reffedOid);
          Reference ref = null;
  
          if (refs != null) {
              for (int ii = 0; ii < refs.length; ii++) {
                  if (refs[ii].equals(reffer.getOid(), field)) {
                      ref = refs[ii];
                      refs[ii] = null;
                      break;
                  }
              }
          }
  
          // if a referred object and referring object are both destroyed without allowing the
          // referred object destruction to process the ObjectRemoved event which is auto-generated,
          // the subsequent destruction of the referring object will attempt to clear the reference
          // to the referred object which no longer exists; so we don't complain about non- existent
          // references if the referree is already destroyed
          if (ref == null && _objects.containsKey(reffedOid)) {
              log.warning("Requested to clear out non-existent reference",
                          "refferOid", reffer.getOid(), "field", field, "reffedOid", reffedOid);
  
  //        } else {
  //            log.info("Cleared out reference " + ref + ".");
          }
      }
docs: Called by <code>objectDestroyed</code>; clears out the tracking info for a reference by the
  supplied object to the specified oid via the specified field.