I think "file".equalsIgnoreCase(uri.getScheme()) already covers that,
doesn't it?

musachy

On Mon, Jun 9, 2008 at 1:44 AM, Dale Newfield <[EMAIL PROTECTED]> wrote:
> Musachy Barroso wrote:
>>
>> Yes, try/catching errors there is a good idea. I will fix it, and log
>> the exception.
>
> Thank you for adding that.  Can I lobby you also modify your "make sure it's
> a file uri" check to be "make sure it's a non-opaque file uri"?
>
> (I.E.:  Also check for !uri.isOpaque() .)
>
> This will prevent a bunch of cryptic stack traces from entering the logs
> (possibly MANY times) for many users.
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to