[
https://issues.apache.org/jira/browse/IO-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487469#comment-17487469
]
David Huang commented on IO-761:
--------------------------------
I had open a pull request for discuss.
https://github.com/apache/commons-io/pull/325
> static method isCaseSensitive
> -----------------------------
>
> Key: IO-761
> URL: https://issues.apache.org/jira/browse/IO-761
> Project: Commons IO
> Issue Type: Bug
> Affects Versions: 2.10.0, 2.11.0
> Reporter: David Huang
> Priority: Major
>
> When the argument is IOCase.SENSITIVE, I think the static method
> isCaseSensitive should return true.
> I did the following test with the code.
> {code:java}
> public void testIsCaseSensitive() {
> // return true. I think it is right.
> boolean b1 = IOCase.SENSITIVE.isCaseSensitive();
> System.out.println(b1);
> // but invoke static method and return false.
> boolean b2 = IOCase.isCaseSensitive(IOCase.SENSITIVE);
> System.out.println(b2);
> }{code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)