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

alesj do-not-reply at jboss.com
Wed Jan 16 05:04:37 EST 2008


"adrian at jboss.org" wrote : It current throws an IOE if you
  | do findChild(), getChildren(), visit(), etc. on a leaf. 
  | We should probably keep for that for findChild (backwards compatibilty - null is not an
  | expected return value) but return null, Collections.emptyList() or do a no-op visit
  | in the other methods.
I've added a getChild to VFS and VirtualFile.

The current code has some duplicates.
I'll remove the findChild from spi parts, just leaving the findChild on the api.

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

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



More information about the jboss-dev-forums mailing list