[jdom-interest] JavaDoc bug in XMLOutputter
Elliotte Rusty Harold
elharo at metalab.unc.edu
Fri Apr 20 16:13:35 PDT 2001
The JavaDoc for printDeclaration is wrong. Starting on line 749 it is:
* @param docType <code>DocType</code> whose declaration to write.
* @param out <code>Writer</code> to write to.
*/
protected void printDeclaration(Document doc,
Writer out,
String encoding) throws IOException
It should be
* @param doc <code>Document</code> whose declaration to write.
* @param out <code>Writer</code> to write to.
* @param encoding <code>encoding</code> to write in
*/
protected void printDeclaration(Document doc,
Writer out,
String encoding) throws IOException
{
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Java I/O (O'Reilly & Associates, 1999) |
| http://metalab.unc.edu/javafaq/books/javaio/ |
| http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ |
| Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ |
+----------------------------------+---------------------------------+
More information about the jdom-interest
mailing list