jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (OAK-5996) Revisions.setHead(Function) should return the new head or null instead of boolean
Date Wed, 29 Mar 2017 08:13:41 GMT

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

Michael Dürig resolved OAK-5996.
--------------------------------
    Resolution: Fixed

Fixed at http://svn.apache.org/viewvc?rev=1789292&view=rev

> 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)

Mime
View raw message