[
http://jira.jboss.com/jira/browse/JBMICROCONT-195?page=all ]
Dimitris Andreadis updated JBMICROCONT-195:
-------------------------------------------
Component/s: VFS
Change VirtualFile.getChildren() to return empty list for a leaf
node
---------------------------------------------------------------------
Key: JBMICROCONT-195
URL:
http://jira.jboss.com/jira/browse/JBMICROCONT-195
Project: JBoss MicroContainer
Issue Type: Task
Components: VFS
Affects Versions: JBossMC_2_0_0 Beta3
Reporter: Scott M Stark
Assigned To: Scott M Stark
Fix For: JBossMC-2.0.0.GA
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