Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
Description
org.apache.commons.vfs2.FileDepthSelector should throw an Exception as stated in the interface org.apache.commons.vfs2.FileSelector, otherwise if you try to extend it the child class cannot throw an exception.
I tried to create a class combining the functionality of the FileDepthSelector and FileTypeSelector but couldn't because checking the file type throws an exception.
Another issue: Why is the depth of FileFilterSelector hard coded?