jackrabbit-oak-dev 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-285) Split CommitEditor into CommitEditor and Validator interfaces
Date Wed, 29 Aug 2012 10:59:07 GMT

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

Michael Dürig resolved OAK-285.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.5

Fixed at revision 1378491
                
> Split CommitEditor into CommitEditor and Validator interfaces
> -------------------------------------------------------------
>
>                 Key: OAK-285
>                 URL: https://issues.apache.org/jira/browse/OAK-285
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.5
>
>
> Having {{ValidatingEditor}} extend {{CommitEditor}} is a constant source of confusion
since the former does not edit at all. Since it also makes sense to run validation only after
all editing has taken place, I suggest to introduce a new interface {{CommitValidator}} which
covers the validating aspect of a commit. Alternatively, we could of course also re-use the
{{Observer}} interface here. 

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

Mime
View raw message