13 Replies Latest reply on Jan 17, 2008 11:02 AM by Ales Justin

    VFS - minor performance improvement

    Adrian Brock Master

      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. :-)