On Wednesday 10 June 2015 18:17:41 Alexander Klimetschek wrote:
> On 10.06.2015, at 09:53, Oliver Lietz <[email protected]> wrote:
> > is the type of parameter request in resolveLocale(HttpServletRequest
> > request) a bug? Shouldn't that be SlingHttpServletRequest like it is in
> > LocaleResolver and described in javadoc instead?
> 
> No, this might be called in the filter chain before sling request/response
> objects are available:
> 
> https://github.com/apache/sling/blob/trunk/bundles/extensions/i18n/src/main/
> java/org/apache/sling/i18n/impl/I18NFilter.java#L114-L126

I see! Thanks, Alex. So we have to fix the javadoc.

O.

> Cheers,
> Alex

Reply via email to