groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From balachand...@balachandran.org
Subject Re: GROOVY-6974: Path.size() should return 0 instead of throwing NoSuchFileException
Date Sun, 19 Jul 2015 09:06:11 GMT
On 2015-07-19 14:33, balachandran@balachandran.org wrote:
> On 2015-07-19 13:50, Pascal Schumacher wrote:
>> 
>> Imho we should close it as "won't fix", because it's a breaking change
>> and the current behavior makes more sense.
>> 
> 
> +1, we should return 0 if it is a zero byte file(i.e. in bash terms,
> test -s <path> should return 0). If the file itself doesn't exist the

    Should have been test -s <path> should return 1. :) Thanks

Mime
View raw message