Description
FilenameUtils.isExtension() is case-sensitive.
All 3 implementations of this method call String.equals() rather than equalsIgnoreCase(), so it means that if my extension is "jpg", for example, and my filename is something.JPG, the method (any of them) will return 'false'.
fix suggestion: should use the method FilenameUtils.eqauls(...)