[jboss-dev-forums] [Design the new POJO MicroContainer] - VFS::visit on a leaf
alesj
do-not-reply at jboss.com
Fri Mar 28 06:58:54 EDT 2008
With idea of removing IllegalStateException for leaves:
- http://jira.jboss.com/jira/browse/JBVFS-10
This should probably also affect visit method:
| public void visit(VirtualFileVisitor visitor) throws IOException
| {
| if (isLeaf())
| throw new IllegalStateException("File cannot contain children: " + this);
|
| getVFS().visit(this, visitor);
| }
|
With just ignoring the visit, or not?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139612#4139612
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139612
More information about the jboss-dev-forums
mailing list