Reviewer needed for 8022753: SQLXML example typo in the SQLXML javadoc
Mandy Chung
mandy.chung at oracle.com
Mon Aug 12 18:22:24 UTC 2013
Looks fine.
Mandy
On 8/12/2013 11:05 AM, Lance Andersen - Oracle wrote:
> Hi all,
>
> Need a reviewer for the following trivial javadoc typo. Bug is 8022753
>
> Best
> Lance
>
>
> hg diff SQLXML.java
> diff -r a4eb59bffb60 src/share/classes/java/sql/SQLXML.java
> --- a/src/share/classes/java/sql/SQLXML.java Sat Jun 29 06:12:28 2013 -0400
> +++ b/src/share/classes/java/sql/SQLXML.java Mon Aug 12 13:59:31 2013 -0400
> @@ -98,7 +98,7 @@
> * or, to set the result value from SAX events:
> * <pre>
> * SAXResult saxResult = sqlxml.setResult(SAXResult.class);
> - * ContentHandler contentHandler = saxResult.getXMLReader().getContentHandler();
> + * ContentHandler contentHandler = saxResult.getHandler();
> * contentHandler.startDocument();
> * // set the XML elements and attributes into the result
> * contentHandler.endDocument();
>
>
> Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
> Oracle Java Engineering
> 1 Network Drive
> Burlington, MA 01803
> Lance.Andersen at oracle.com
>
More information about the core-libs-dev
mailing list