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

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPClientConnection.java
@@ -166,8 +166,7 @@
   * The Map (messageID => {@link OperationWithPromise}) of all operations
   * currently in progress on this connection.
   */
  private final Map<Integer, OperationWithPromise> operationsInProgress =
      new ConcurrentHashMap<Integer, OperationWithPromise>();
  private final Map<Integer, OperationWithPromise> operationsInProgress = new ConcurrentHashMap<>();
  /**
   * The number of operations performed on this connection. Used to compare with
@@ -622,7 +621,7 @@
  public Collection<Operation> getOperationsInProgress()
  {
    Collection<OperationWithPromise> values = operationsInProgress.values();
    Collection<Operation> results = new ArrayList<Operation>(values.size());
    Collection<Operation> results = new ArrayList<>(values.size());
    for (OperationWithPromise op : values)
    {
      results.add(op.operation);