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

ctissot
21.20.2008 66088d08d55061e33dff2dfc726b0650bde395b0
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java
@@ -1293,12 +1293,6 @@
          // searches are cancelled.
          CancelResult cancelResult = ps.cancel();
          if (keepStats && (cancelResult.getResultCode() ==
            ResultCode.CANCELED))
          {
            statTracker.updateAbandonedOperation();
          }
          return cancelResult;
        }
      }
@@ -1308,12 +1302,8 @@
    else
    {
      CancelResult cancelResult = op.cancel(cancelRequest);
      if (keepStats && (cancelResult.getResultCode() == ResultCode.CANCELED))
      {
        statTracker.updateAbandonedOperation();
      }
      return op.cancel(cancelRequest);
      return cancelResult;
    }
  }