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

Jean-Noel Rouvignac
18.26.2015 ca669ae54f86dbeea277280690584d9f591c7571
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPClientConnection.java
@@ -693,12 +693,11 @@
      operationsPerformed.incrementAndGet();
      final Operation operation = previousValue.operation;
      if (operation.getOperationType() == OperationType.ABANDON)
      if (operation.getOperationType() == OperationType.ABANDON
          && keepStats
          && operation.getResultCode() == ResultCode.CANCELLED)
      {
        if (keepStats && operation.getResultCode() == ResultCode.CANCELLED)
        {
          statTracker.updateAbandonedOperation();
        }
        statTracker.updateAbandonedOperation();
      }
    }
    return previousValue != null;