Re: [PATCH libvirt-java 5/9] Implement virDomainUndefineFlags

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

 



On 01/07/2013 06:55 AM, Claudio Bley wrote:

> 
>> +    public int undefineFlags(int flags) throws LibvirtException {
> 
> Should we take advantage of Java's method overloading capability here?
> 
> I propose to divert from the mapping rules and just overload the
> undefine method with an additional parameter.

Agreed.  For higher-level languages that support overloads and/or
default parameters, we don't need to expose the poor naming goop that
lower-level C is stuck with.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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