scim icon indicating copy to clipboard operation
scim copied to clipboard

Question about StringUtils.toLowerCase()

Open narendraj9 opened this issue 7 years ago • 0 comments

I was going through the code in https://github.com/pingidentity/scim/blob/bf0f52fa898614ac23e61706cf44d7752cf4619e/scim-sdk/src/main/java/com/unboundid/scim/sdk/StaticUtils.java#L58

I would like to understand the reason for choosing to have the switch statement and not going with s.toLowerCase() on the string itself. Is the reason for doing this tedious task performance for the common case (of only A-Z) strings?

narendraj9 avatar Feb 07 '19 10:02 narendraj9