Suggestion: Add the method isEmpty in the classes StringBuilder and StringBuffer (original) (raw)
Hildeberto Mendonça me at hildeberto.com
Mon Feb 11 19:12:56 UTC 2013
- Previous message: Suggestion: Add the method isEmpty in the classes StringBuilder and StringBuffer
- Next message: hg: jdk8/tl/jdk: 8007536: Incorrect copyright header in JDP files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: Suggestion: Add the method isEmpty in the classes StringBuilder and StringBuffer
- Next message: hg: jdk8/tl/jdk: 8007536: Incorrect copyright header in JDP files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]