commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Schumacher <pascalschumac...@gmx.net>
Subject Re: [lang] Add StringUtils#isMixedCase?
Date Mon, 01 May 2017 10:21:12 GMT
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 <boards@gmail.com>:
>>
>> Makes sense to me at least.
>>
>> On 28 April 2017 at 09:58, Pascal Schumacher <pascalschumacher@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 <boards@gmail.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message