On Thu, Feb 13, 2014 at 04:23:11PM +0100, Claudio Bley wrote:
It should not be necessary to create a Connect object in order to
determine the version of the libvirt library.
Introduce Library.getVersion which returns this information.
Deprecate Connect.getLibVirVersion but keep it for backwards compat.
Signed-off-by: Claudio Bley <cbley(a)av-test.de>
---
src/main/java/org/libvirt/Connect.java | 5 +++--
src/main/java/org/libvirt/Library.java | 15 ++++++++++++++-
src/test/java/org/libvirt/TestJavaBindings.java | 3 +--
src/test/java/org/libvirt/TestLibvirtGlobals.java | 4 ++++
4 files changed, 22 insertions(+), 5 deletions(-)
ACK
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|