Am 13.02.2012 um 22:15 schrieb Bertrand Delacretaz:

> On Sat, Feb 11, 2012 at 2:19 AM, Justin Edelson <[email protected]> wrote:
>> ...Please vote..
> 
> +1 - deprecate ResourceDecorator.decorate(Resource, HttpServletRequest)
> 
> Just to be clear, as I don't think this was clearly mentioned in this
> thread, this means keeping the first method of this interface as is,
> and deprecating the second one:
> 
> interface ResourceDecorator {
>    Resource decorate(Resource)
    @Deprecated
>    Resource decorate(Resource, HttpServletRequest)
> }
> 

Yes.

Regards
Felix


> Note that http://sling.apache.org/site/wrap-or-decorate-resources.html
> will have to be updated as well.
> 
> -Bertrand

Reply via email to