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 "Stefan Egli (JIRA)" <ji...@apache.org> on 2016/11/29 09:53:58 UTC

[jira] [Resolved] (OAK-5160) guarantee before of FilteringAwareObserver.contentChanged to be Nonnull

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

Stefan Egli resolved OAK-5160.
------------------------------
    Resolution: Fixed

fixed in http://svn.apache.org/viewvc?rev=1771872&view=rev (including ChangeProcessor adaption)

> guarantee before of FilteringAwareObserver.contentChanged to be Nonnull
> -----------------------------------------------------------------------
>
>                 Key: OAK-5160
>                 URL: https://issues.apache.org/jira/browse/OAK-5160
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.5.14
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>             Fix For: 1.6, 1.5.15
>
>         Attachments: OAK-5160.patch
>
>
> FilteringAwareObserver (and thus ChangeProcessor)'s {{contentChanged}} has {{@Nonnull}} for the {{before}} parameter. But for the very first contentChanged (at initialization time) this can actually be null. So we should change that to {{@Nullable}} there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)