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 <[email protected]>:

Makes sense to me at least.

On 28 April 2017 at 09:58, Pascal Schumacher <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]



--
Matt Sicker <[email protected]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to