You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Alex Blewitt <Al...@ioshq.com> on 2003/08/18 12:12:19 UTC

[PATCH] [JavaMail] More strict checking in URLName

Refactored URLName to not depend on URL for parsing and updated test 
case to test new parsing mechanism


[PATCH] [JavaMail] More strict checking in URLName

Posted by Alex Blewitt <Al...@ioshq.com>.
On Monday, Aug 18, 2003, at 16:39 Europe/London, Dain Sundstrom wrote:

> I think this would be much easier and simpler if you used java.net.URI 
> to parse the basic structure, and only hand parsed the email address.

Damn. I didn't know about this class the first time round, because that 
would have been the ideal class to use initially :-)

I've rewritten the method to use the URI instead. Thanks for the heads 
up!

Alex.


Re: [PATCH] [JavaMail] More strict checking in URLName

Posted by Dain Sundstrom <da...@coredevelopers.net>.
I think this would be much easier and simpler if you used java.net.URI 
to parse the basic structure, and only hand parsed the email address.

-dain

On Monday, August 18, 2003, at 05:12 AM, Alex Blewitt wrote:

> Refactored URLName to not depend on URL for parsing and updated test 
> case to test new parsing mechanism
>
> <javax-mail-URLName.patch><javax-mail-URLNameTest.patch>