maven-doxia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton" <vincent.sive...@gmail.com>
Subject Re: svn commit: r560370 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
Date Fri, 27 Jul 2007 20:29:19 GMT
Nice catch Dennis!

Thanks

Vincent

2007/7/27, dennisl@apache.org <dennisl@apache.org>:
> Author: dennisl
> Date: Fri Jul 27 13:15:56 2007
> New Revision: 560370
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=560370
> Log:
> o Use more high-level markup constants.
>
> Modified:
>     maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
>
> Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
> URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java?view=diff&rev=560370&r1=560369&r2=560370
> ==============================================================================
> --- maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
(original)
> +++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/src/main/java/org/apache/maven/doxia/module/apt/AptParser.java
Fri Jul 27 13:15:56 2007
> @@ -1144,23 +1144,23 @@
>
>          if ( monospaced )
>          {
> -            throw new AptParseException( "missing '" + GREATER_THAN_MARKUP + GREATER_THAN_MARKUP
+ GREATER_THAN_MARKUP + "'" );
> +            throw new AptParseException( "missing '" + MONOSPACED_END + "'" );
>          }
>          if ( bold )
>          {
> -            throw new AptParseException( "missing '" + GREATER_THAN_MARKUP + GREATER_THAN_MARKUP
+ "'" );
> +            throw new AptParseException( "missing '" + BOLD_END + "'" );
>          }
>          if ( italic )
>          {
> -            throw new AptParseException( "missing '" + GREATER_THAN_MARKUP + "'" );
> +            throw new AptParseException( "missing '" + ITALIC_END + "'" );
>          }
>          if ( link )
>          {
> -            throw new AptParseException( "missing '" + RIGHT_CURLY_BRACKET_MARKUP +
RIGHT_CURLY_BRACKET_MARKUP + "'" );
> +            throw new AptParseException( "missing '" + LINK_END + "'" );
>          }
>          if ( anchor )
>          {
> -            throw new AptParseException( "missing '" + RIGHT_CURLY_BRACKET_MARKUP +
"'" );
> +            throw new AptParseException( "missing '" + ANCHOR_END + "'" );
>          }
>
>          flushTraversed( buffer, sink );
>
>
>

Mime
View raw message