David Huang created IO-761:
------------------------------
Summary: static method isCaseSensitive
Key: IO-761
URL: https://issues.apache.org/jira/browse/IO-761
Project: Commons IO
Issue Type: Bug
Affects Versions: 2.11.0, 2.10.0
Reporter: David Huang
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)