Ztopher, I think you are using to much extra coding that is not required. You only need a File object and should not keep sending in the result list. Also the fileFilter is not really required because you can just use the isFile function. If the item found is not a file then it must be a directory. With those changes your code looks like the following:
posted 16 years ago
Thank you ! Isn�t a good idea to pass the ArrayList as an argument to the function, like this?
In your version there is no point in using a collection or am I mistaken? Cheers