Uploaded image for project: 'JBoss VFS'
  1. JBoss VFS
  2. JBVFS-10

Change VirtualFile.getChildren() to return empty list for a leaf node

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta10
    • 2.0.0.Beta9
    • None
    • None

      Currently calling getChildren on a VirtualFile for which isLeaf is true results in an IllegalStateException or IOException or other depending on the vfs type. This complicates the vfs api usage. We should just return an empty list in this situation.

              ajustin@redhat.com Ales Justin
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: