[
https://issues.apache.org/jira/browse/DOXIA-733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17833055#comment-17833055
]
Konrad Windszus commented on DOXIA-733:
---------------------------------------
As each method in Java is virtual even SinkWrappers have the Doxia1.1/2.0
method correctly called from the final AbstractSink Doxia 1.0 method.
> SinkWrapper must allow overwriting legacy Doxia 1.0 methods
> -----------------------------------------------------------
>
> Key: DOXIA-733
> URL: https://issues.apache.org/jira/browse/DOXIA-733
> Project: Maven Doxia
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-M9
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
>
> Currently {{SinkWrapper}} extends {{AbstractSink}}. The latter declares lots
> of Doxia 1.0 methods as final though (and just delegates to the Doxia 1.1/2.0
> equivalent).
> While this is fine for regular Sink implementations it does not work for a
> SinkWrapper (which is not involved when the delegation takes place).
> Therefore those methods must not be final in {{SinkWrapper}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)