Github user rikles commented on the pull request:

    https://github.com/apache/commons-lang/pull/110#issuecomment-145528980
  
    This unit test fails :
    ```
    
org.apache.commons.lang3.StringUtilsTest.testStringUtilsCharSequenceContract()
    ```
    
    It said :
    > The method public static int 
org.apache.commons.lang3.StringUtils.compare(String,String,boolean) appears to 
be immutable in spirit and therefore must not accept a String
    
    I use String parameters instead of CharSequence because in the Java 
conception, only String are Comparable and not CharSequence.
    I call `String#compareTo(String)` in the implementation.
    
    So what should I do ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to