[ 
https://issues.apache.org/jira/browse/OAK-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mueller updated OAK-11601:
---------------------------------
    Description: 
oak-core:
{noformat}
package org.apache.jackrabbit.oak.plugins.tree.factories;
/**
 * Factory to obtain immutable {@code Root} objects.
 *
 * @deprecated Please use {@code RootProvider} instead
 */
public final class RootFactory {
{noformat}

But RootProvider is an interface, and the only(?) implementation just calls 
this class as well.

This was deprecated in OAK-7015 but I don't see why exactly, and what would be 
the real replacement.

TreeFactory seems similar.

  was:
oak-core:
{noformat}
package org.apache.jackrabbit.oak.plugins.tree.factories;
/**
 * Factory to obtain immutable {@code Root} objects.
 *
 * @deprecated Please use {@code RootProvider} instead
 */
public final class RootFactory {
{noformat}

But RootProvider is an interface, and the only(?) implementation just calls 
this class as well.


> Un-deprecate required parts
> ---------------------------
>
>                 Key: OAK-11601
>                 URL: https://issues.apache.org/jira/browse/OAK-11601
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Thomas Mueller
>            Priority: Major
>
> oak-core:
> {noformat}
> package org.apache.jackrabbit.oak.plugins.tree.factories;
> /**
>  * Factory to obtain immutable {@code Root} objects.
>  *
>  * @deprecated Please use {@code RootProvider} instead
>  */
> public final class RootFactory {
> {noformat}
> But RootProvider is an interface, and the only(?) implementation just calls 
> this class as well.
> This was deprecated in OAK-7015 but I don't see why exactly, and what would 
> be the real replacement.
> TreeFactory seems similar.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to