You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/02/06 09:54:47 UTC

[maven-doxia] branch master updated: [DOXIA-641] AprParser throws exception if title is not present

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia.git


The following commit(s) were added to refs/heads/master by this push:
     new c65bac0  [DOXIA-641] AprParser throws exception if title is not present
c65bac0 is described below

commit c65bac0dd9973874f168564653a87753fc8084e3
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sun Feb 6 10:53:58 2022 +0100

    [DOXIA-641] AprParser throws exception if title is not present
---
 .../main/java/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 63786e3..fec38c0 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
@@ -1857,11 +1857,6 @@ public class AptParser
                             {
                                 AptParser.this.sink.title_();
                             }
-                            else
-                            {
-                                throw new AptParseException( "missing title" );
-                            }
-                            break;
                         case 1:
                             if ( author )
                             {
@@ -1919,11 +1914,6 @@ public class AptParser
                     {
                         AptParser.this.sink.title_();
                     }
-                    else
-                    {
-                        throw new AptParseException( "missing title" );
-                    }
-                    break;
                 case 1:
                     if ( author )
                     {