8215911: Various Typos in SQL Method Documentation
Reviewed-by: coffeys
Contributed-by: roger.calnan@oracle.com
--- a/src/java.sql.rowset/share/classes/com/sun/rowset/JdbcRowSetImpl.java Thu Jan 03 17:46:09 2019 +0000
+++ b/src/java.sql.rowset/share/classes/com/sun/rowset/JdbcRowSetImpl.java Thu Jan 03 17:49:34 2019 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, 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
@@ -1133,7 +1133,7 @@
* as a stream of Unicode characters.
* The value can then be read in chunks from the
* stream. This method is particularly
- * suitable for retrieving large{@code LONGVARCHAR}values. The JDBC driver will
+ * suitable for retrieving large{@code LONGVARCHAR} values. The JDBC driver will
* do any necessary conversion from the database format into Unicode.
* The byte format of the Unicode stream must be Java UTF-8,
* as specified in the Java virtual machine specification.
@@ -6188,7 +6188,7 @@
* @param parameterIndex index of the first parameter is 1, the second is 2, ...
* @param reader An object that contains the data to set the parameter value to.
* @throws SQLException if a database access error occurs, this method is called on
- * a closed {@code PreparedStatement}or if parameterIndex does not correspond to a parameter
+ * a closed {@code PreparedStatement} or if parameterIndex does not correspond to a parameter
* marker in the SQL statement
*
* @throws SQLFeatureNotSupportedException if the JDBC driver does not support this method
--- a/src/java.sql.rowset/share/classes/com/sun/rowset/internal/SyncResolverImpl.java Thu Jan 03 17:46:09 2019 +0000
+++ b/src/java.sql.rowset/share/classes/com/sun/rowset/internal/SyncResolverImpl.java Thu Jan 03 17:49:34 2019 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2019, 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
@@ -1064,7 +1064,7 @@
/**
* Returns the insert row or the current row of this
- * {@code CachedRowSetImpl}object.
+ * {@code CachedRowSetImpl} object.
*
* @return the {@code Row} object on which this {@code CachedRowSetImpl}
* objects's cursor is positioned
@@ -4326,7 +4326,7 @@
*
* @param columnName a {@code String} object that must match the
* SQL name of a column in this rowset, ignoring case
- * @param c the new column {@code Clob}value
+ * @param c the new column {@code Clob} value
* @throws SQLException if (1) the given column name does not match the
* name of a column in this rowset, (2) the cursor is not on
* one of this rowset's rows or its insert row, or (3) this