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

Konrad Windszus resolved DOXIA-772.
-----------------------------------
    Fix Version/s: 2.1.0
       Resolution: Fixed

Deprecated sectionTitle() and sectionTitle_() in 
https://github.com/apache/maven-doxia/commit/431fb56aa069e1b56cfd98364578f18ceb834660
 and made them no-ops.

> AbstractSink.sectionTitle() calls Sink.sectionTitle(...) method with invalid 
> level argument
> -------------------------------------------------------------------------------------------
>
>                 Key: DOXIA-772
>                 URL: https://issues.apache.org/jira/browse/DOXIA-772
>             Project: Maven Doxia
>          Issue Type: Bug
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: 2.1.0
>
>
> According to 
> https://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#sectionTitle-int-org.apache.maven.doxia.sink.SinkEventAttributes-
>  the {{level}} argument must be between 1 and 6. However 
> {{AbstractSink.sectionTitle()}} calls it with {{level}} being 0 
> (https://github.com/apache/maven-doxia/blob/ef20da287e49dbbe4ac92a82e7593b3c897ce126/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/AbstractSink.java#L84)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to