[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-195) Change VirtualFile.getChildren() to return empty list for a leaf node
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Wed Jul 18 15:02:47 EDT 2007
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
Affects Versions: JBossMC_2_0_0 Beta3
Reporter: 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
More information about the jboss-jira
mailing list