#174 ImportOrder check should be case-insensitive

release_3.3
closed
5
2012-10-10
2003-11-15
J. G. Pusey
No

It seems the ImportOrder check considers the following
import statements to be out of order:

import java.io.File;
import java.io.InputStream;
import java.io.IOException;
import java.io.Reader;

Presumably this is because it is doing case-sensitive
string comparisons. I don't know about other folks, but
I would prefer case-insensitive string comparisons. If
others do not agree, perhaps it can be made an option?

Thanks for the great tool!

John

Discussion

  • Logged In: YES
    user_id=746148

    Added caseSensitive property. Committed to CVS for 3.3.