Skip to content

Commit

Permalink
[DOXIASITETOOLS-322] Upgrade to Doxia 2.0.0-M9 (#121)
Browse files Browse the repository at this point in the history
Only implement overloaded methods taking SinkEventAttributes
argument
  • Loading branch information
kwin authored Jan 10, 2024
1 parent 8817dbe commit 5b72684
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import org.apache.maven.doxia.markup.HtmlMarkup;
import org.apache.maven.doxia.module.xhtml5.Xhtml5Sink;
import org.apache.maven.doxia.sink.SinkEventAttributes;
import org.apache.maven.doxia.siterenderer.DocumentContent;
import org.apache.maven.doxia.siterenderer.DocumentRenderingContext;
import org.codehaus.plexus.util.StringUtils;
Expand Down Expand Up @@ -93,13 +94,13 @@ public void title_() {
* @see org.apache.maven.doxia.module.xhtml5.Xhtml5Sink#title()
*/
@Override
public void title() {
public void title(SinkEventAttributes attributes) {
resetTextBuffer();
}

/** {@inheritDoc} */
@Override
public void author() {
public void author(SinkEventAttributes attributes) {
resetTextBuffer();
}

Expand All @@ -116,7 +117,7 @@ public void author_() {

/** {@inheritDoc} */
@Override
public void date() {
public void date(SinkEventAttributes attributes) {
resetTextBuffer();
}

Expand Down Expand Up @@ -148,7 +149,7 @@ public void body_() {
* @see org.apache.maven.doxia.module.xhtml5.Xhtml5Sink#body()
*/
@Override
public void body() {
public void body(SinkEventAttributes attributes) {
// nop
}

Expand All @@ -160,7 +161,7 @@ public void head_() {

/** {@inheritDoc} */
@Override
public void head() {
public void head(SinkEventAttributes attributes) {
setHeadFlag(true);
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ under the License.

<properties>
<javaVersion>8</javaVersion>
<doxiaVersion>2.0.0-M8</doxiaVersion>
<doxiaVersion>2.0.0-M9</doxiaVersion>
<slf4jVersion>1.7.36</slf4jVersion>
<mavenVersion>3.2.5</mavenVersion>
<aetherVersion>1.0.0.v20140518</aetherVersion>
Expand Down

0 comments on commit 5b72684

Please sign in to comment.