[
https://issues.apache.org/jira/browse/IO-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Huang closed IO-761.
--------------------------
Fixed and will be released in 2.12.0.
> IOCase.isCaseSensitive(IOCase) result is backward
> -------------------------------------------------
>
> 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
> Fix For: 2.12.0
>
>
> 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)