[ 
https://issues.apache.org/jira/browse/LANG-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Yandell closed LANG-784.
------------------------------

    Resolution: Fixed

svn ci -m "Added more detail to the explanation of the oddly backwards way that 
difference(String, String) works as noted in LANG-784" src
Sending        src/main/java/org/apache/commons/lang3/StringUtils.java
Transmitting file data .
Committed revision 1470262.

                
> Strange behavior on StringUtils.difference
> ------------------------------------------
>
>                 Key: LANG-784
>                 URL: https://issues.apache.org/jira/browse/LANG-784
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 3.0.1
>            Reporter: Arnaud Brunet
>            Priority: Minor
>             Fix For: 3.2
>
>
> Hi,
> The behavior of the method StringUtils.difference () behaves in a 
> non-intuitive (explain in the javadoc).
> StringUtils.difference ("abc", "") returns "" as intuitively expected to be 
> "abc".
> Is it possible to change this behavior ?
> Regards,
> Arnaud

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to