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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...