respect provided format
authorPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 18 Jan 2012 15:05:27 +0000 (16:05 +0100)
committerPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 18 Jan 2012 15:05:27 +0000 (16:05 +0100)
bindings/java/org/collectd/java/GenericJMXConfValue.java

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