You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Pascal Schumacher <pa...@gmx.net> on 2017/05/01 10:21:12 UTC

Re: [lang] Add StringUtils#isMixedCase?

The purposed implementation at 
https://github.com/apache/commons-lang/pull/223 returns false if the 
string contains any non-alphabetic characters.

e.g.:
StringUtils.isMixedCase(null)    = false
StringUtils.isMixedCase("")      = false
StringUtils.isMixedCase("aBc")   = true
StringUtils.isMixedCase("ABC")   = false
StringUtils.isMixedCase("abc")   = false
StringUtils.isMixedCase("A c")   = false
StringUtils.isMixedCase("A1c")   = false
StringUtils.isMixedCase("a/C")   = false

Any opinions on this?

Thanks,
Pascal

Am 29.04.2017 um 11:26 schrieb Benedikt Ritter:
> 1+ add it!
>
>> Am 28.04.2017 um 17:06 schrieb Matt Sicker <bo...@gmail.com>:
>>
>> Makes sense to me at least.
>>
>> On 28 April 2017 at 09:58, Pascal Schumacher <pa...@gmx.net>
>> wrote:
>>
>>> Hello everybody,
>>>
>>> requested in: https://issues.apache.org/jira/browse/LANG-1304
>>>
>>> pull request: https://github.com/apache/commons-lang/pull/223
>>>
>>> Should we add this?
>>>
>>> What do you think?
>>>
>>> Thanks,
>>>
>>> Pascal
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> -- 
>> Matt Sicker <bo...@gmail.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>