summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 50dd17b)
raw | patch | inline | side by side (parent: 50dd17b)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 29 Mar 2009 11:55:32 +0000 (13:55 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 29 Mar 2009 11:55:32 +0000 (13:55 +0200) |
They will be replaced by the correct values automatically, so it's better
to initialize the members to those ``magic'' values..
to initialize the members to those ``magic'' values..
bindings/java/org/collectd/api/PluginData.java | patch | blob | history | |
bindings/java/org/collectd/api/ValueList.java | patch | blob | history |
diff --git a/bindings/java/org/collectd/api/PluginData.java b/bindings/java/org/collectd/api/PluginData.java
index 45cd8362cfc6f48626aab25506918df701242766..26b0206da22df4c9d3aab88db1899e650213f459 100644 (file)
*/
public class PluginData {
- protected long _time;
+ protected long _time = 0;
protected String _host;
protected String _plugin;
protected String _pluginInstance = "";
diff --git a/bindings/java/org/collectd/api/ValueList.java b/bindings/java/org/collectd/api/ValueList.java
index 4ba301880390db4c22211cea61f9e98eba15f4f9..1baeff24ed7fb8e58e6a80df22c576f3adb3b78c 100644 (file)
private List<Number> _values = new ArrayList<Number>();
private DataSet _ds;
- private long _interval;
+ private long _interval = 0;
public ValueList() {