From 47a1bb25542dc4ce0af63d953cd7c579e0fa77b6 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Sun, 6 Feb 2022 10:53:58 +0100 Subject: [PATCH] [DOXIA-641] AprParser throws exception if title is not present --- .../org/apache/maven/doxia/module/apt/AptParser.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java b/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java index bccaddff1..d6cedfd5b 100644 --- a/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java +++ b/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java @@ -1925,11 +1925,6 @@ public void traverse() { AptParser.this.sink.title_(); } - else - { - throw new AptParseException( "missing title" ); - } - break; case 1: if ( author ) { @@ -1987,11 +1982,6 @@ public void traverse() { AptParser.this.sink.title_(); } - else - { - throw new AptParseException( "missing title" ); - } - break; case 1: if ( author ) {