Re: [libvirt] [PATCH] Network is ported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Veillard wrote:
On Mon, Jul 27, 2009 at 07:11:39PM -0400, Bryan Kearney wrote:
Daniel Veillard wrote:
diff --git a/src/org/libvirt/Connect.java b/src/org/libvirt/Connect.java
index bc560d0..b559b52 100644
--- a/src/org/libvirt/Connect.java
+++ b/src/org/libvirt/Connect.java
  looks rather simple. Maybe we should have dropped looking by UUID in
  array form and stick only to UUID strings for Java APIs, but it's done
  now.

This is what is causing me issues now. I would love to kill this part of the API.

  I saw some of the conversion code around, but if we can make it work
I guess it's better to keep it even if it's a bit cumbersome, maybe
most of the nastyness can be contained in a specific UUID conversion
class.

Daniel


I am going to deprecate the int[] code for UUIDs. Since we are moving to Java 1.6.. we get a UUID class in the JDK. That means we can look objects based on a string or on a UUID. The old API works, but it is marked as deprecated.

-- bk


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]