maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r560798 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
Date Sun, 29 Jul 2007 19:56:22 GMT
Author: dennisl
Date: Sun Jul 29 12:56:19 2007
New Revision: 560798

URL: http://svn.apache.org/viewvc?view=rev&rev=560798
Log:
o Correct the tag order in tableCaption_().
o Add a space at the end of simple tags, just before "/>".
o Minor javadoc fixes.

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java?view=diff&rev=560798&r1=560797&r2=560798
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
Sun Jul 29 12:56:19 2007
@@ -361,7 +361,7 @@
      *
      * @param depth The level of the section title.
      * @see javax.swing.text.html.HTML.Tag#H4
-     * @see javax.swing.text.html.HTML.Tag#H4
+     * @see javax.swing.text.html.HTML.Tag#H5
      * @see javax.swing.text.html.HTML.Tag#H6
      */
     private void onSectionTitle( int depth )
@@ -387,7 +387,7 @@
      *
      * @param depth The level of the section title.
      * @see javax.swing.text.html.HTML.Tag#H4
-     * @see javax.swing.text.html.HTML.Tag#H4
+     * @see javax.swing.text.html.HTML.Tag#H5
      * @see javax.swing.text.html.HTML.Tag#H6
      */
     private void onSectionTitle_( int depth )
@@ -874,8 +874,8 @@
      */
     public void tableCaption_()
     {
-        writeEndTag( Tag.P );
         writeEndTag( Tag.I );
+        writeEndTag( Tag.P );
     }
 
     /**
@@ -1134,7 +1134,6 @@
      * </pre>
      *
      * @param t a non null tag
-     * @param att a set of attributes
      * @see #writeStartTag(Tag, MutableAttributeSet)
      */
     private void writeStartTag ( Tag t )
@@ -1145,7 +1144,7 @@
     /**
      * Starts a Tag with attributes, for instance:
      * <pre>
-     * &lt;tag attName="attValue" &gt;
+     * &lt;tag attName="attValue"&gt;
      * </pre>
      *
      * @param t a non null tag
@@ -1160,7 +1159,7 @@
     /**
      * Starts a Tag with attributes, for instance:
      * <pre>
-     * &lt;tag attName="attValue" &gt;
+     * &lt;tag attName="attValue"&gt;
      * </pre>
      *
      * @param t a non null tag
@@ -1201,7 +1200,7 @@
 
         if ( isSimpleTag )
         {
-            sb.append( SLASH_MARKUP );
+            sb.append( SPACE_MARKUP ).append( SLASH_MARKUP );
         }
 
         sb.append( END_MARKUP );



Mime
View raw message