commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: svn commit: r919859 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/StringUtils.java
Date Sun, 07 Mar 2010 13:56:04 GMT
sebb wrote:

> On 06/03/2010, Henri Yandell <flamefew@gmail.com> wrote:
>> I find this a tricky one.
>>
>>  When it's explicitly referring to the type, CharSequence seems fine,
>>  but to change the text that is talking about what a method does to:
>>
>>  "Work out a CharSequence's length"
>>
>>  It feels very unwieldy.
>>
>>  Do others find this weird, or is it just me?
> 
> That does look odd, but so does using String when the parameter is a
> CharSequence.
> 
> Using "string" rather than "String" would be a bit better.
> 
> How about "Works out the length of a string of characters" ?
> 
> Still not ideal though.


"Works out the length of a character sequence like String, StringBuilder, 
..." ?

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message