It's missing an isLeaf() check before trying to visit the file.
But I agree, there's no point invoking isLeaf() twice (once by the caller
and once by the backed) when it could just return an empty list.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065445#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...