[jboss-dev-forums] [Design the new POJO MicroContainer] - VFS - minor performance improvement
adrian@jboss.org
do-not-reply at jboss.com
Fri Jan 11 07:16:21 EST 2008
Can we add a VFS/VirtualFile.getChild() that doesn't throw an IOException?
| /**
| * Get a child
| *
| * @return the child or <code>null</code> if not found
| * @throws IOException if a real problem occurs
| */
| public VirtualFile getChild() throws IOException {}
|
I imagine the construction of the all the IOExceptions to say "file not found"
from findChild() is pretty slow. :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119003#4119003
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119003
More information about the jboss-dev-forums
mailing list