Remy Maucherat wrote:
> [EMAIL PROTECTED] wrote:
>> Author: markt
>> Date: Wed Dec  6 18:51:40 2006
>> New Revision: 483329
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=483329
>> Log:
>> Ensure accept-language header conforms to RFC 2616 and ignore it if it
>> doesn't
> 
> I think a "for" loop with a check for each char in the locale would be
> better. String.matches recompiles (and matches) a regexp every time, so
> I think it would be a good idea to avoid it (this whole method is quite
> bad already, of course).

Fair point. I'll apply an updated patch shortly.

Mark

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

Reply via email to