Code

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 0a2abc3393c5d4fa2c9e6c7b8f4a14ab283497d7..9fb0fc2eda9fd175038e755e7c1260b4456c160a 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)