GenericJMX plugin: memory leak, indent and compile warn fixes
authorFrank de Jong <frapex@xs4all.nl>
Wed, 2 Dec 2015 10:55:26 +0000 (11:55 +0100)
committerFrank de Jong <frapex@xs4all.nl>
Wed, 2 Dec 2015 13:39:04 +0000 (14:39 +0100)
commitedba412f8ac4cc2b73a25b58dba4e3ebca20f398
tree5bba6b19850f1a0d73aaaff6a1611d18f0f56805
parent306810f293c3bc1f3cbf2793a228d2113500e573
GenericJMX plugin: memory leak, indent and compile warn fixes

- call close() on JMXConnector if JMX connection fails; fixes memory leak
- fix indentation errors
- fix "unchecked" compile warnings
- some refactoring
bindings/java/org/collectd/java/GenericJMXConfConnection.java