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; } }