[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: FileHandler.getChildren IOException for non-dirs

adrian@jboss.org do-not-reply at jboss.com
Wed Jul 18 11:46:29 EDT 2007


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#4065445

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065445



More information about the jboss-dev-forums mailing list