[
https://issues.apache.org/jira/browse/OAK-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620952#comment-13620952
]
Antonio Sanso commented on OAK-742:
-----------------------------------
For what I can see this method is only used from the test classes.
Furthermore as it is the status quo now this will work only with the
OpenPermissionProvider.
That's why IMHO is not much useful to have it in the Oak API
> Oak#createContentSession() should be moved to some Test class
> -------------------------------------------------------------
>
> Key: OAK-742
> URL: https://issues.apache.org/jira/browse/OAK-742
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Antonio Sanso
> Priority: Minor
>
> The Oak#createContentSession() is a convenience for one-off tests (as also
> described in the API description).
> IMHO should be moved from the Oak class to some utility class in order to
> avoid any misusage
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira