From: Pierre-Yves Ritschard Date: Wed, 18 Jan 2012 15:05:27 +0000 (+0100) Subject: respect provided format X-Git-Tag: collectd-5.1.0~46^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=34e98f730536d6dda7cf3781dbd66ff1c27b5913;p=collectd.git respect provided format --- diff --git a/bindings/java/org/collectd/java/GenericJMXConfValue.java b/bindings/java/org/collectd/java/GenericJMXConfValue.java index 0a2abc33..9fb0fc2e 100644 --- a/bindings/java/org/collectd/java/GenericJMXConfValue.java +++ b/bindings/java/org/collectd/java/GenericJMXConfValue.java @@ -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)