[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: VFS - minor performance improvement

alesj do-not-reply at jboss.com
Fri Jan 11 09:02:22 EST 2008


"adrian at jboss.org" wrote : 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 can add this, and we can then slowly move the findChild usage to this new getChild + null check.

And I guess you mean getChild(String path)? ;-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119070#4119070

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



More information about the jboss-dev-forums mailing list