Should I return null for reverse path tokens going over the top as well?
| if (PathTokenizer.isReverseToken(tokens[index))
| {
| VirtualFileHandler parent = current.getParent();
| if (parent == null) // TODO - still IOE or null?
| throw new IOException("Using reverse path on top file handler:
" + current + ", " + path);
| else
| current = parent;
| }
|
I guess since this is a rare usage, and you probably expect the reverse path to work, I
could be still useful to throw IOE.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120972#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...