[jboss-jira] [JBoss JIRA] Updated: (JBVFS-10) Change VirtualFile.getChildren() to return empty list for a leaf node
Ales Justin (JIRA)
jira-events at lists.jboss.org
Sat Mar 29 16:32:40 EDT 2008
[ http://jira.jboss.com/jira/browse/JBVFS-10?page=all ]
Ales Justin updated JBVFS-10:
-----------------------------
Affects Version/s: 2.0.0.Beta9
> 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
> Affects Versions: 2.0.0.Beta9
> Reporter: Scott M Stark
> Assigned To: Ales Justin
> Fix For: 2.0.0.Beta10
>
>
> 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