mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
02.30.2006 9f7e54f54e452973cd947137118321672f5ecb65
opends/src/server/org/opends/server/core/CompareOperation.java
@@ -95,6 +95,9 @@
  // The DN of the entry for the compare operation.
  private DN entryDN;
  // The entry to be compared.
  private Entry entry;
  // The set of response controls for this compare operation.
  private List<Control> responseControls;
@@ -148,6 +151,7 @@
    this.assertionValue   = assertionValue;
    responseControls = new ArrayList<Control>();
    entry            = null;
    entryDN          = null;
    attributeType    = null;
    cancelRequest    = null;
@@ -195,6 +199,7 @@
    rawEntryDN       = new ASN1OctetString(entryDN.toString());
    rawAttributeType = attributeType.getNameOrOID();
    cancelRequest    = null;
    entry            = null;
  }
@@ -344,6 +349,22 @@
  /**
   * Retrieves the entry to target with the compare operation.  It will not be
   * available to pre-parse plugins.
   *
   * @return  The entry to target with the compare operation, or
   *          <CODE>null</CODE> if the entry is not yet available.
   */
  public Entry getEntryToCompare()
  {
    assert debugEnter(CLASS_NAME, "getEntryToCompare");
    return entry;
  }
  /**
   * Retrieves the time that processing started for this operation.
   *
   * @return  The time that processing started for this operation.
@@ -697,7 +718,6 @@
      try
      {
        // Get the entry.  If it does not exist, then fail.
        Entry entry = null;
        try
        {
          entry = DirectoryServer.getEntry(entryDN);