You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2017/03/29 07:53:42 UTC
[jira] [Created] (OAK-5996) Revisions.setHead(Function) should
return the new head or null instead of boolean
Michael Dürig created OAK-5996:
----------------------------------
Summary: Revisions.setHead(Function) should return the new head or null instead of boolean
Key: OAK-5996
URL: https://issues.apache.org/jira/browse/OAK-5996
Project: Jackrabbit Oak
Issue Type: Improvement
Components: segment-tar
Reporter: Michael Dürig
Assignee: Michael Dürig
Fix For: 1.7.0, 1.8
Currently {{Revisions.setHead(Function, Option)}} returns a {{boolean}} to indicate success or failure. The caller has no access to the head resulting from this call. I would thus like to change this into the record id of the new head in case of success and {{null}} otherwise.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)