Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-535

Remove useless method AbstractOutputProcessor.processEvent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java 2.1.5
    • Java 2.2.0
    • Java
    • None

    Description

      AbstractOutputProcessor implements OutputProcessor.
      It needlessly redirects OutputProcessor.processNextEvent to a new abstract method AbstractOutputProcessor.processEvent with the exact same purpose and signature.
      This is unnecessarily confusing.
      It would be simpler and better to remove that abstract method and let subclasses implement processEvent from the interface straight away instead.

      Attachments

        1. SANTUARIO-535.patch
          9 kB
          Peter De Maeyer
        2. SANTUARIO-535-bis.patch
          11 kB
          Peter De Maeyer

        Issue Links

          Activity

            People

              coheigea Colm O hEigeartaigh
              peterdm Peter De Maeyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: