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

Matthew Swift
03.34.2014 de607b93f91a0064821ca37642f440500285e714
Revert workaround for OPENDJ-1243: ClassCastException while accessing EnvironmentStats appearing frequently in debug logs.

* this has been fixed in JE 5.0.103 (#23060)

1 files modified
6 ■■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/monitors/DatabaseEnvironmentMonitor.java 6 ●●●●● patch | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/monitors/DatabaseEnvironmentMonitor.java
@@ -171,12 +171,6 @@
      // Invoke all the getters returning integer values.
      if (method.getName().startsWith("get"))
      {
        // Temporary workaround for issue OPENDJ-1243.
        if (method.getName().startsWith("getAvgBatch"))
        {
          continue;
        }
        Class<?> returnType = method.getReturnType();
        if (returnType.equals(int.class) || returnType.equals(long.class))
        {