[jboss-jira] [JBoss JIRA] Moved: (JBVFS-10) Change VirtualFile.getChildren() to return empty list for a leaf node

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Thu Jan 10 06:13:56 EST 2008


     [ http://jira.jboss.com/jira/browse/JBVFS-10?page=all ]

Dimitris Andreadis moved JBMICROCONT-195 to JBVFS-10:
-----------------------------------------------------

              Project: JBoss VFS  (was: JBoss MicroContainer)
                  Key: JBVFS-10  (was: JBMICROCONT-195)
          Component/s:     (was: VFS)
        Fix Version/s: 2.0.0.Beta7
                           (was: JBossMC-2.0.0.GA)
    Affects Version/s:     (was:  JBossMC_2_0_0 Beta3)

> Change VirtualFile.getChildren() to return empty list for a leaf node
> ---------------------------------------------------------------------
>
>                 Key: JBVFS-10
>                 URL: http://jira.jboss.com/jira/browse/JBVFS-10
>             Project: JBoss VFS
>          Issue Type: Task
>            Reporter: Scott M Stark
>         Assigned To: Scott M Stark
>             Fix For: 2.0.0.Beta7
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list