[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] libvirt-java
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Toth Istvan <stoty 3g co hu>
- Cc: libvir-list redhat com, Tóth István <stoty tvnet hu>, Daniel Schwager <Daniel Schwager dtnet de>
- Subject: Re: [libvirt] libvirt-java
- Date: Tue, 8 Jul 2008 08:59:06 +0100
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 :|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]