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

Jean-Noël Rouvignac
20.42.2016 61b9eb1be03fc03a9f4bb0013a08ff44a1059503
opendj-server-legacy/src/test/java/org/opends/server/monitors/SystemInfoMonitorTestCase.java
@@ -12,15 +12,12 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2006-2008 Sun Microsystems, Inc.
 * Portions Copyright 2016 ForgeRock AS.
 */
package org.opends.server.monitors;
import org.opends.server.api.MonitorProvider;
/**
 * This class defines a set of tests for the
 * org.opends.server.monitors.SystemInfoMonitorProvider class.
@@ -39,21 +36,11 @@
    super("cn=System Info,cn=Monitor Providers,cn=config");
  }
  /**
   * Retrieves an initialized instance of the associated monitor provider.
   *
   * @return  An initialized instance of the associated monitor provider.
   *
   * @throws  Exception  If an unexpected problem occurs.
   */
  protected MonitorProvider getMonitorInstance()
         throws Exception
  @Override
  protected MonitorProvider<?> getMonitorInstance() throws Exception
  {
    SystemInfoMonitorProvider monitorProvider = new SystemInfoMonitorProvider();
    monitorProvider.initializeMonitorProvider(null);
    return monitorProvider;
  }
}