You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by de...@apache.org on 2007/07/29 21:56:22 UTC
svn commit: r560798 -
/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
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>
- * <tag attName="attValue" >
+ * <tag attName="attValue">
* </pre>
*
* @param t a non null tag
@@ -1160,7 +1159,7 @@
/**
* Starts a Tag with attributes, for instance:
* <pre>
- * <tag attName="attValue" >
+ * <tag attName="attValue">
* </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 );