You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2025/01/02 17:01:00 UTC

[jira] [Updated] (DOXIA-772) AbstractSink.sectionTitle() calls sectionTitle method with invalid level argument

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

Konrad Windszus updated DOXIA-772:
----------------------------------
    Summary: AbstractSink.sectionTitle() calls sectionTitle method with invalid level argument  (was: Sink.sectionTitle() calls sectionTitle method with invalid level argument)

> AbstractSink.sectionTitle() calls 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
>
> 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)