You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Peter De Maeyer (Jira)" <ji...@apache.org> on 2020/04/21 16:03:00 UTC

[jira] [Reopened] (SANTUARIO-535) Remove useless method AbstractOutputProcessor.processEvent

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

Peter De Maeyer reopened SANTUARIO-535:
---------------------------------------

> Remove useless method AbstractOutputProcessor.processEvent
> ----------------------------------------------------------
>
>                 Key: SANTUARIO-535
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-535
>             Project: Santuario
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: Java 2.1.5
>            Reporter: Peter De Maeyer
>            Assignee: Colm O hEigeartaigh
>            Priority: Major
>             Fix For: Java 2.2.0
>
>         Attachments: SANTUARIO-535.patch
>
>
> {{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 {{processNextEvent}} from the interface straight away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)