A common problem with the handling of file urls keep showing
up in main. The problem is a construct of the form:

String url = ...
if( url.startsWith("file:") && url.endsWith(File.separator) == false )
    url += File.separator;

The problem is that file url strings have nothing to do with platform
specific seperators. All valid file url strings use '/' as the separator.


xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to