Quick code review to address a couple typos in the javadoc for ResultSet, CR 7007772

Stuart Marks stuart.marks at oracle.com
Tue Apr 12 18:22:49 UTC 2011


Lance,

Looks fine to me.

s'marks


On 4/12/11 10:57 AM, Lance Andersen - Oracle wrote:
> Hi folks,
>
> Looking for a reviewer for the following simple change to ResultSet to address CR 7007772
>
> hg diff
> diff -r 1bb95f6ac753 src/share/classes/java/sql/ResultSet.java
> --- a/src/share/classes/java/sql/ResultSet.java	Tue Apr 12 12:25:15 2011 -0400
> +++ b/src/share/classes/java/sql/ResultSet.java	Tue Apr 12 13:52:32 2011 -0400
> @@ -1,5 +1,5 @@
>   /*
> - * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
>    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>    *
>    * This code is free software; you can redistribute it and/or modify it
> @@ -137,7 +137,7 @@
>    * to retrieve the next result from a sequence of multiple results.
>    *
>    *<P>The number, types and properties of a<code>ResultSet</code>
> - * object's columns are provided by the<code>ResulSetMetaData</code>
> + * object's columns are provided by the<code>ResultSetMetaData</code>
>    * object returned by the<code>ResultSet.getMetaData</code>  method.
>    *
>    * @see Statement#executeQuery
> @@ -422,7 +422,7 @@
>        * of this<code>ResultSet</code>  object as
>        * a stream of ASCII characters. The value can then be read in chunks from the
>        * stream. This method is particularly
> -     * suitable for retrieving large<char>LONGVARCHAR</char>  values.
> +     * suitable for retrieving large<code>LONGVARCHAR</code>  values.
>        * The JDBC driver will
>        * do any necessary conversion from the database format into ASCII.
>
>
> Thank you.
>
> Regards,
> Lance
>
>
> 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