[libvirt] libvirt-java
Daniel P. Berrange
berrange at redhat.com
Tue Jul 8 07:59:06 UTC 2008
On Mon, Jul 07, 2008 at 08:26:53PM +0200, Toth Istvan wrote:
> - Remove the "vir" prefix from most method names, and inner classes i.e:
> VirConnect.virNodeInfo() would become VirConnect.nodeInfo() and
> VirConnect.virNetworkLookupByName would become
> VirConnect.networkLookupByName
>
> Basically, I want to get get rid of the "Vir" prefix from all but the
> top classes, and the enums.
>
> I might even consider removing the Vir prefix from the top classes (i.e)
> VirConnect -> Connect, but I'm not sure about it.
I'd remove the vir prefix from everything. We use the prefix in the C
world as our namespace. In Java namespaces are already handled by the
package name org.libvirt so there is no need for a vir prefix. Note
that the Python and Perl bindings also remove the vir prefix so there
is precedent here.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list