]
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: