Re: [libvirt] libvirt-java

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

 



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

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