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

pgamba
14.15.2009 2fb54e292faa7bd619e05e9801096cfe224dc28b
opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLSearchOperation.java
@@ -349,6 +349,7 @@
          persistentSearch.cancel();
          setSendResponse(true);
        }
        this.abort(null);
        throw coe;
      }
      catch (Exception e)
@@ -1365,6 +1366,8 @@
   */
  public CancelResult cancel(CancelRequest cancelRequest)
  {
    if (debugEnabled())
      TRACER.debugInfo(this + " cancel() " + eclSession);
    if (eclSession != null)
    {
      try
@@ -1377,6 +1380,23 @@
  }
  /**
   * {@inheritDoc}
   */
  public void abort(CancelRequest cancelRequest)
  {
    if (debugEnabled())
      TRACER.debugInfo(this + " abort() " + eclSession);
    if (eclSession != null)
    {
      try
      {
        eclSession.close();
      }
      catch(Exception e){}
    }
  }
  /**
   * The unique identifier used in DSEE is named nsUniqueId and its format is
   * HHHHHHHH-HHHHHHHH-HHHHHHHH-HHHHHHHH where H is a hex digit.
   * An nsUniqueId value is for example 3970de28-08b311d9-8095b9bf-c4d9231c