Suggestion: Add the method isEmpty in the classes StringBuilder and StringBuffer

Hildeberto Mendonça me at hildeberto.com
Mon Feb 11 19:12:56 UTC 2013


Is there something we can do to push it forward? Maybe a patch, tests,
text, or something else?

On Mon, Feb 11, 2013 at 7:32 PM, Hildeberto Mendonça <me at hildeberto.com>wrote:

> On Mon, Feb 11, 2013 at 6:08 PM, Vitaly Davidovich <vitalyd at gmail.com>wrote:
>
>> It should be isEmpty() -- empty() is usually for returning empty versions
>> of the class.  isEmpty is also consistent with String.
>>
>
> Yes. Also, being consistent with String helps to reduce effort during
> refactoring.
>
> --
> Hildeberto Mendonça, Ph.D
> Blog: http://www.hildeberto.com
> Twitter: https://twitter.com/htmfilho <http://www.cejug.org>




-- 
Hildeberto Mendonça, Ph.D
Blog: http://www.hildeberto.com
Twitter: https://twitter.com/htmfilho <http://www.cejug.org>



More information about the core-libs-dev mailing list