as per octo's request, provide details on nulls
authorPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 18 Jan 2012 15:02:52 +0000 (16:02 +0100)
committerPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 18 Jan 2012 15:02:52 +0000 (16:02 +0100)
bindings/java/org/collectd/java/GenericJMXConfValue.java

index 0ed1990..0a2abc3 100644 (file)
@@ -318,7 +318,8 @@ class GenericJMXConfValue
       }
       catch (javax.management.AttributeNotFoundException e)
       {
-        value = conn.invoke (objName, key, null, null);
+        value = conn.invoke (objName, key,
+                            /* parameters */ null, /* signature */ null);
       }
     }
     catch (Exception e)