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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/05/30 08:39:18 UTC
[jira] [Closed] (OAK-5996) Revisions.setHead(Function) should
return the new head or null instead of boolean
[ https://issues.apache.org/jira/browse/OAK-5996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-5996.
---------------------------------
Bulk close for 1.7.0
> 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
> Labels: refactoring
> 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)