abhijith nagarajan created LANG-1324:
----------------------------------------

             Summary: StringUtils and null
                 Key: LANG-1324
                 URL: https://issues.apache.org/jira/browse/LANG-1324
             Project: Commons Lang
          Issue Type: Improvement
          Components: lang.*
    Affects Versions: 3.5
            Reporter: abhijith nagarajan
            Priority: Trivial


This is more of a question which could lead to a minor improvement. I would 
like to know if there was a specific reason to return "null" from method 
stripChars, substringsBetween when input is null. 

I was always under the impression that Util classes would gracefully handle 
null (this is great from commons-lang) and would not return null unless it is 
very clear from the method's objective (like stripToNull).

I have the required code change which is small but impact of this change would 
be high as we do not know what could break as this library usage is pretty 
common in all the java projects.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to