[libvirt] [libvirt-java] [PATCH 64/65] Replace static connectionVersion method with getLibVersion

Daniel P. Berrange berrange at redhat.com
Fri Feb 21 11:18:18 UTC 2014


On Thu, Feb 13, 2014 at 04:23:12PM +0100, Claudio Bley wrote:
> Since the libvirt version information is a property of an *instance* of a
> connnection, the method to retrieve this information should not be static.
> 
> Deprecate its use and recommend using aConnect.getLibVersion instead.
> 
> Signed-off-by: Claudio Bley <cbley at av-test.de>
> ---
>  src/main/java/org/libvirt/Connect.java          |   18 ++++++++++++++++++
>  src/test/java/org/libvirt/TestJavaBindings.java |    2 +-
>  2 files changed, 19 insertions(+), 1 deletion(-)

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 :|




More information about the libvir-list mailing list