directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: Process of making changes at trunk
Date Thu, 05 Apr 2018 04:47:57 GMT


Le 05/04/2018 à 00:57, Shawn McKinney a écrit :
> 
>> On Apr 4, 2018, at 4:18 AM, Emmanuel Lécharny <elecharny@gmail.com> wrote:
>>
>> One more thing :
>>
>> if ( props.size() > 0 )
>>
>> should be
>>
>> if ( !props.isEmpty() )
> 
> That won’t work, props is not java.util.Properties, it’s:

    List<Props.Entry> props = inProps.getEntry();


So it *must* implement List.isEmpty()...

-- 
Emmanuel Lecharny

Symas.com
directory.apache.org


Mime
View raw message