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

2013-02-14 Thread Hildeberto Mendonça
this brings me to a new idea: Extend the +-syntax over all classes of CharSequence !!! -Ulf -- Hildeberto Mendonça, Ph.D Blog: http://www.hildeberto.com Twitter: https://twitter.com/htmfilho http://www.cejug.org

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

2013-02-11 Thread Hildeberto Mendonça
and taken forward. Best regards, -- Hildeberto Mendonça, Ph.D Blog: http://www.hildeberto.com Twitter: https://twitter.com/htmfilho http://www.cejug.org

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

2013-02-11 Thread Hildeberto Mendonça
, Hildeberto Mendonça wrote: Hello, we have a scenario where a project with approximately 500K lines of code is going through a large refactoring. One of the changes was to replace string concatenations in loops by StringBuilder. Within the logic we found the following condition

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

2013-02-11 Thread Hildeberto Mendonça
On Mon, Feb 11, 2013 at 3:29 PM, Ulf Zibis ulf.zi...@cosoco.de wrote: Am 11.02.2013 12:54, schrieb Hildeberto Mendonça: we have a scenario where a project with approximately 500K lines of code is going through a large refactoring. One of the changes was to replace string concatenations

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

2013-02-11 Thread Hildeberto Mendonça
. -- Hildeberto Mendonça, Ph.D Blog: http://www.hildeberto.com Twitter: https://twitter.com/htmfilho http://www.cejug.org

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

2013-02-11 Thread Hildeberto Mendonça
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 m...@hildeberto.comwrote: On Mon, Feb 11, 2013 at 6:08 PM, Vitaly Davidovich vita...@gmail.comwrote: It should be isEmpty() -- empty