Having looked at java.net.URI's equals() method, I would think that converting to URI would be safer - some parts of the syntax should be compared case-insensitive, while other parts are case-sensitive.
But that's probably a pretty baroque corner case, in real life, it won't make much difference. -- Noel. Greg Brown wrote: > Yeah, after reading that article I agree. The article suggests using > toString() rather than converting it to a URI - any pros/cons? >
