sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: Deprecated
Date Thu, 11 Jun 2020 08:33:14 GMT

On Thu, Jun 11, 2020 at 3:06 AM Carlos Munoz <> wrote:
> ...We are currently using class
> but it is deprecated
> (seems to have been for a while)...

As per the reason for
deprecation is that it'0s "using javax.jcr api and therefore creates a
mixture between Sling's resource API and the JCR api".

Which I think is a good reason, but if you use JCR APIs elsewhere
anyway in your project I don't think using that class is a problem for
you. I just clarified its Javadoc comments to mention that.

I don't think we have a public replacement at this point, as you
mention the
is in a non-exported package. If we need a non-JCR public variant of
it, we could move that code to a new and have inherit from


View raw message