commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud BRUNET (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-784) Strange behavior on StringUtils.difference
Date Wed, 04 Jan 2012 20:49:40 GMT

    [ https://issues.apache.org/jira/browse/LANG-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179854#comment-13179854
] 

Arnaud BRUNET commented on LANG-784:
------------------------------------

I have seeing the javadoc but it's still non-intuitive.
                
> 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
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message