You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jb...@apache.org on 2003/09/23 07:11:25 UTC
cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment LoaderUtil.java
jboynes 2003/09/22 22:11:25
Modified: modules/core/src/java/org/apache/geronimo/xml/deployment
LoaderUtil.java
Log:
Fix JavaDoc (from Geronimo-79)
Revision Changes Path
1.5 +4 -4 incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/LoaderUtil.java
Index: LoaderUtil.java
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/xml/deployment/LoaderUtil.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- LoaderUtil.java 8 Sep 2003 06:08:04 -0000 1.4
+++ LoaderUtil.java 23 Sep 2003 05:11:25 -0000 1.5
@@ -171,11 +171,11 @@
/**
* Utility method to parse the contents of a Reader into a DOM Document.
- * NOTE: closes the reader when finished!
*
* @param reader The reader with the XML content
- * @param context A file name or similar context, included when any warnings
- * or errors are logged to help the user identify the problem
+ * @return the Document read from the Reader
+ * @throws SAXException if there was a parsing problem
+ * @throws IOException if there was a problem reading the input
*/
public static Document parseXML(Reader reader) throws SAXException, IOException {
DocumentBuilderFactory factory = new org.apache.xerces.jaxp.DocumentBuilderFactoryImpl();