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

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



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


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