Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-285

Split CommitEditor into CommitEditor and Validator interfaces

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: