[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBoss with spaces in the directory name
adrian@jboss.org
do-not-reply at jboss.com
Mon Jul 28 14:07:36 EDT 2008
"adrian at jboss.org" wrote :
|
| | protected boolean hasBeenModified(VirtualFile root) throws Exception
| | {
| | // get file:/ schema
| | URL url = VFSUtils.getCompatibleURL(root);
| | File file = new File(url.toURI());
| |
|
It also looks stupid to me that it converts it first to a URL and then to URI.
Couldn't this be more optimised with a getCompatibleURI(VirtualFile) method
in VFSUtils?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167147#4167147
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167147
More information about the jboss-dev-forums
mailing list