Index: src/test/java/org/apache/harmony/sql/tests/java/sql/SQLPermissionTest.java =================================================================== --- src/test/java/org/apache/harmony/sql/tests/java/sql/SQLPermissionTest.java (revision 482616) +++ src/test/java/org/apache/harmony/sql/tests/java/sql/SQLPermissionTest.java (working copy) @@ -25,7 +25,7 @@ * JUnit Testcase for the java.sql.SQLPermission class * * Note that the SQLPermission class only defines 2 constructors and all other - * methods are inherited. This testcase explicity tets the constructors but also + * methods are inherited. This testcase explicitly tets the constructors but also * implicitly tests some of the inherited query methods. * */ Index: src/main/java/java/sql/Statement.java =================================================================== --- src/main/java/java/sql/Statement.java (revision 482616) +++ src/main/java/java/sql/Statement.java (working copy) @@ -522,7 +522,7 @@ *
* Cursor names must be unique within one Connection. *
- * With the Cursor name set, it can then be utilised in SQL positioned + * With the Cursor name set, it can then be utilized in SQL positioned * update or delete statements to determine the current row in a ResultSet * generated from this Statement. The positioned update or delete must be * done with a different Statement than this one. @@ -560,7 +560,7 @@ * ResultSet.FETCH_REVERSE * @throws SQLException * if there is an error while accessing the database or if the - * fetch direction is unrecognised + * fetch direction is unrecognized */ public void setFetchDirection(int direction) throws SQLException; Index: src/main/java/java/sql/DatabaseMetaData.java =================================================================== --- src/main/java/java/sql/DatabaseMetaData.java (revision 482616) +++ src/main/java/java/sql/DatabaseMetaData.java (working copy) @@ -1090,7 +1090,7 @@ *
* The listing is returned as a ResultSet where there is one row for a - * specific UDT which describes its supertype, with the data organised in + * specific UDT which describes its supertype, with the data organized in * columns as follows: *
TYPE_CAT - String - the UDT Catalog name (possibly
Index: src/main/java/java/sql/Savepoint.java
===================================================================
--- src/main/java/java/sql/Savepoint.java (revision 482616)
+++ src/main/java/java/sql/Savepoint.java (working copy)
@@ -18,7 +18,7 @@
package java.sql;
/**
- * A Savepoint is an instant during the current transaction that can be utilised
+ * A Savepoint is an instant during the current transaction that can be utilized
* by a Rollback from the Connection.rollback method. Rolling back to a
* particular Savepoint means that all changes that occurred after that
* Savepoint are removed.
Index: src/main/java/java/sql/Date.java
===================================================================
--- src/main/java/java/sql/Date.java (revision 482616)
+++ src/main/java/java/sql/Date.java (working copy)
@@ -31,7 +31,7 @@
* * Time points are handled as millisecond values - milliseconds since the epoch, * January 1st 1970, 00:00:00.000 GMT. Time values passed to the java.sql.Date - * class are "normalised" to the time 00:00:00.000 GMT on the date implied by + * class are "normalized" to the time 00:00:00.000 GMT on the date implied by * the time value. */ public class Date extends java.util.Date { @@ -203,7 +203,7 @@ } int firstIndex = dateString.indexOf('-'); int secondIndex = dateString.indexOf('-', firstIndex + 1); - // secondIndex == -1 means none or only one separater '-' has been + // secondIndex == -1 means none or only one separator '-' has been // found. // The string is separated into three parts by two separator characters, // if the first or the third part is null string, we should throw Index: src/main/java/java/sql/SQLException.java =================================================================== --- src/main/java/java/sql/SQLException.java (revision 482616) +++ src/main/java/java/sql/SQLException.java (working copy) @@ -113,7 +113,7 @@ } /** - * Retrieves the SQLException chanied to this SQLException, if any. + * Retrieves the SQLException chained to this SQLException, if any. * * @return The SQLException chained to this SQLException. null if there is * no SQLException chained to this SQLException. Index: src/main/java/java/sql/Blob.java =================================================================== --- src/main/java/java/sql/Blob.java (revision 482616) +++ src/main/java/java/sql/Blob.java (working copy) @@ -46,7 +46,7 @@ * * @param pos * the position of the first byte in the Blob to get, where the - * first byte in the Blob hss position = 1 + * first byte in the Blob has position = 1 * @param length * the number of bytes to get * @return a byte array containing the data from the Blob, starting at pos Index: src/main/java/java/sql/Clob.java =================================================================== --- src/main/java/java/sql/Clob.java (revision 482616) +++ src/main/java/java/sql/Clob.java (working copy) @@ -94,10 +94,10 @@ * in this Clob object. * * @param searchstr - * th String to seach for + * th String to search for * @param start * the position at which to start the search within this Clob. - * @return a long value with the position at which the specificed String + * @return a long value with the position at which the specified String * occurs within this Clob. * @throws SQLException * if an error occurs accessing the Clob Index: src/main/java/java/sql/SQLInput.java =================================================================== --- src/main/java/java/sql/SQLInput.java (revision 482616) +++ src/main/java/java/sql/SQLInput.java (working copy) @@ -35,7 +35,7 @@ *
* When the getObject method is called with an object which implements the * SQLData interface, the JDBC driver determines the SQL type of the UDT being - * mapped by caling the SQLData.getSQLType method. The driver creates an + * mapped by calling the SQLData.getSQLType method. The driver creates an * instance of an SQLInput stream, filling the stream with the attributes of the * UDT. The SQLInput stream is passed to the SQLData.readSQL method which then * calls the SQLInput reader methods to read the attributes. Index: src/main/java/java/sql/Struct.java =================================================================== --- src/main/java/java/sql/Struct.java (revision 482616) +++ src/main/java/java/sql/Struct.java (working copy) @@ -53,7 +53,7 @@ * method uses the supplied type map for customized type mappings. Where * there is no entry in the Type Map which matches the this structured type, * the JDBC driver uses the default mapping. The Connection type map is - * never utilised by this method. + * never utilized by this method. * * @param theMap * a Map describing how SQL Type names are mapped to classes. Index: src/main/java/java/sql/SQLData.java =================================================================== --- src/main/java/java/sql/SQLData.java (revision 482616) +++ src/main/java/java/sql/SQLData.java (working copy) @@ -60,7 +60,7 @@ * Reads data from the database into this object. This method follows these * steps: *
* This method follows the following steps: Index: src/main/java/java/sql/ResultSet.java =================================================================== --- src/main/java/java/sql/ResultSet.java (revision 482616) +++ src/main/java/java/sql/ResultSet.java (working copy) @@ -56,7 +56,7 @@ * column names are used, it is not possible to guarantee that the name will * retrieve data from the intended column - for certainty it is better to use * column indexes. Ideally the columns should be read left-to-right and read - * once only, since not all * databases are optimised to handle other techniques + * once only, since not all * databases are optimized to handle other techniques * of reading the data. *
* When reading data, the JDBC driver maps the SQL data retrieved from the
Index: src/main/java/java/sql/Driver.java
===================================================================
--- src/main/java/java/sql/Driver.java (revision 482616)
+++ src/main/java/java/sql/Driver.java (working copy)
@@ -38,7 +38,7 @@
* @param url
* the URL to connect to.
* @return true if the driver thinks that is can open a connection to the
- * supplied URL, flase otherwise. Typically, the driver will respond
+ * supplied URL, false otherwise. Typically, the driver will respond
* true if it thinks that it can handle the subprotocol specified by
* the driver.
* @throws SQLException
Index: src/main/java/javax/sql/PooledConnection.java
===================================================================
--- src/main/java/javax/sql/PooledConnection.java (revision 482616)
+++ src/main/java/javax/sql/PooledConnection.java (working copy)
@@ -84,7 +84,7 @@
/**
* Creates a connection to the database. This method is typically called by
- * the Connectio Pool manager when an application invokes the method
+ * the Connection Pool manager when an application invokes the method
* DataSource.getConnection and there are no PooledConnection
* objects available in the connection pool.
*
@@ -98,7 +98,7 @@
/**
* Deregister the supplied ConnectionEventListener from this
* PooledConnection. Once deregistered, the ConnectionEventListener will not
- * longer receive events ocurring in the PooledConnection.
+ * longer receive events occurring in the PooledConnection.
*
* @param theListener
* an object which implements the ConnectionEventListener
Index: src/main/java/javax/sql/RowSetReader.java
===================================================================
--- src/main/java/javax/sql/RowSetReader.java (revision 482616)
+++ src/main/java/javax/sql/RowSetReader.java (working copy)
@@ -23,7 +23,7 @@
* An interface which provides functionality for a disconnected RowSet to get
* data from a data source into its rows. The RowSet calls the RowSetReader
* interface when the RowSet's execute method is invoked - a RowSetReader must
- * firat be registered with the RowSet for this to work.
+ * first be registered with the RowSet for this to work.
*/
public interface RowSetReader {
Index: src/main/java/javax/sql/RowSet.java
===================================================================
--- src/main/java/javax/sql/RowSet.java (revision 482616)
+++ src/main/java/javax/sql/RowSet.java (working copy)
@@ -38,7 +38,7 @@
* can be used as a JavaBeans component, perhaps being used in a visual
* programming environment.
*
- * Facilities are provided for get/set of propoerties relating to the Database
+ * Facilities are provided for get/set of properties relating to the Database
* and the SQL Command and for getting/setting data within the Rows represented
* by the RowSet. The RowSet supports JavaBeans events so that other components
* in an application can be informed when various changes happen to the RowSet,
@@ -154,7 +154,7 @@
public int getMaxRows() throws SQLException;
/**
- * Gets the value of the password propoerty for this RowSet. This property
+ * Gets the value of the password property for this RowSet. This property
* is used when making a connection to the database and should be set before
* invoking the execute method.
*
@@ -187,7 +187,7 @@
/**
* Gets the custom mapping of SQL types for this RowSet, if any.
*
- * @return a Map olding the custom mappings of SQL types to Java classes for
+ * @return a Map holding the custom mappings of SQL types to Java classes for
* this RowSet. By default, the Map is empty.
* @throws SQLException
* if an error occurs accessing the database.
@@ -452,7 +452,7 @@
* @param theDate
* the Date to use
* @param theCalendar
- * the Calendar to use in coverting the Date to an SQL DATE value
+ * the Calendar to use in converting the Date to an SQL DATE value
* @throws SQLException
* if an error occurs accessing the database.
*/
@@ -807,7 +807,7 @@
public void setTransactionIsolation(int level) throws SQLException;
/**
- * Sets the type of this RowSet. By default, the type is non-scollable.
+ * Sets the type of this RowSet. By default, the type is non-scrollable.
*
* @param type
* the new type for the RowSet. One of:
Index: src/main/java/javax/sql/RowSetMetaData.java
===================================================================
--- src/main/java/javax/sql/RowSetMetaData.java (revision 482616)
+++ src/main/java/javax/sql/RowSetMetaData.java (working copy)
@@ -27,7 +27,7 @@
* RowSetMetaData extends ResultSetMetaData, adding new operations for carrying
* out value sets.
*
- * Application code would not mormally call this interface directly. It would be
+ * Application code would not normally call this interface directly. It would be
* called internally when RowSet.execute is called.
*/
public interface RowSetMetaData extends ResultSetMetaData {
@@ -35,7 +35,7 @@
/**
* Sets automatic numbering for a specified column in the RowSet. If
* automatic numbering is on, the column is read only. The default value is
- * for automatice numbering to be off.
+ * for automatic numbering to be off.
*
* @param columnIndex
* the index number for the column, where the first column has
@@ -153,7 +153,7 @@
* the index number for the column, where the first column has
* index 1.
* @param theTypeName
- * a string containing the Type Name for the colunm
+ * a string containing the Type Name for the column
* @throws SQLException
* if a problem occurs accessing the database
*/
@@ -201,7 +201,7 @@
* the index number for the column, where the first column has
* index 1.
* @param thePrecision
- * an integer containoing the number of decimal digits
+ * an integer containing the number of decimal digits
* @throws SQLException
* if a problem occurs accessing the database
*/
Index: src/main/java/javax/transaction/xa/XAResource.java
===================================================================
--- src/main/java/javax/transaction/xa/XAResource.java (revision 482616)
+++ src/main/java/javax/transaction/xa/XAResource.java (working copy)
@@ -41,7 +41,7 @@
public static final int TMFAIL = 0x20000000;
/**
- * Flag to indicate that the caller is joiing sn existing transaction
+ * Flag to indicate that the caller is joining sn existing transaction
* branch.
*/
public static final int TMJOIN = 0x200000;
@@ -250,7 +250,7 @@
* an integer. Must be one of XAResource.TMNOFLAGS,
* XAResource.TMJOIN, or XAResource.TMRESUME.
*
- * TMJOIN implies that the start applies to joiing a transaction + * TMJOIN implies that the start applies to joining a transaction * previously passed to the Resource Manager. *
* TMRESUME implies that the start applies to a suspended