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

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
opendj-server-legacy/src/main/java/org/opends/server/monitors/ClientConnectionMonitorProvider.java
@@ -136,8 +136,7 @@
  public ArrayList<Attribute> getMonitorData()
  {
    // Re-order the connections by connection ID.
    TreeMap<Long, ClientConnection> connMap =
        new TreeMap<Long, ClientConnection>();
    TreeMap<Long, ClientConnection> connMap = new TreeMap<>();
    if (handler == null)
    {
@@ -171,7 +170,7 @@
      builder.add(conn.getMonitorSummary());
    }
    ArrayList<Attribute> attrs = new ArrayList<Attribute>(1);
    ArrayList<Attribute> attrs = new ArrayList<>(1);
    attrs.add(builder.toAttribute());
    return attrs;
  }