harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r901688 - in /harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java: java/sql/SQLClientInfoException.java javax/sql/RowSet.java
Date Thu, 21 Jan 2010 13:00:55 GMT
Author: hindessm
Date: Thu Jan 21 13:00:46 2010
New Revision: 901688

URL: http://svn.apache.org/viewvc?rev=901688&view=rev
Log:
Javadoc fixes but sometimes the most consistent fix was to rename the
variable in the code.

Modified:
    harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLClientInfoException.java
    harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/RowSet.java

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLClientInfoException.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLClientInfoException.java?rev=901688&r1=901687&r2=901688&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLClientInfoException.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/java/sql/SQLClientInfoException.java
Thu Jan 21 13:00:46 2010
@@ -151,10 +151,10 @@
      *            the Throwable object for the underlying reason this
      *            SQLException
      */
-    public SQLClientInfoException(String reason, String SQLState,
+    public SQLClientInfoException(String reason, String sqlState,
             int vendorCode, Map<String, ClientInfoStatus> failedProperties,
             Throwable cause) {
-        super(reason, SQLState, vendorCode, cause);
+        super(reason, sqlState, vendorCode, cause);
         this.failedProperties = failedProperties;
     }
 
@@ -171,9 +171,9 @@
      *            the Map<String,ClientInfoStatus> object to use as the
      *            property values
      */
-    public SQLClientInfoException(String reason, String SQLState,
+    public SQLClientInfoException(String reason, String sqlState,
             Map<String, ClientInfoStatus> failedProperties) {
-        super(reason, SQLState);
+        super(reason, sqlState);
         this.failedProperties = failedProperties;
     }
 
@@ -187,15 +187,16 @@
      *            the string to use as the Reason string
      * @param sqlState
      *            the string to use as the SQLState string
-     * @param vendorCode
-     *            the integer value for the error code
      * @param failedProperties
      *            the Map<String,ClientInfoStatus> object to use as the
      *            property values
+     * @param cause
+     *            the Throwable object for the underlying reason this
+     *            SQLException
      */
-    public SQLClientInfoException(String reason, String SQLState,
+    public SQLClientInfoException(String reason, String sqlState,
             Map<String, ClientInfoStatus> failedProperties, Throwable cause) {
-        super(reason, SQLState, cause);
+        super(reason, sqlState, cause);
         this.failedProperties = failedProperties;
     }
 

Modified: harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/RowSet.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/RowSet.java?rev=901688&r1=901687&r2=901688&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/RowSet.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/sql/src/main/java/javax/sql/RowSet.java
Thu Jan 21 13:00:46 2010
@@ -621,7 +621,7 @@
      * @throws SQLException
      *             if an error occurs accessing the database.
      */
-    public void setBytes(String parametername, byte[] theByteArray)
+    public void setBytes(String parameterName, byte[] theByteArray)
             throws SQLException;
 
     /**
@@ -743,15 +743,14 @@
      * Sets the value of the specified parameter in the RowSet command with the
      * value of a supplied java.sql.Clob.
      * 
-     * @param parameterIndex
-     *            index of the parameter to set, where the first parameter has
-     *            index = 1.
-     * @param Clob
+     * @param parameterName
+     *            name for parameter
+     * @param theClob
      *            the specific Clob object
      * @throws SQLException
      *             if an error occurs accessing the database.
      */
-    public void setClob(String parameterName, Clob x) throws SQLException;
+    public void setClob(String parameterName, Clob theClob) throws SQLException;
 
     /**
      * Sets the value of the specified parameter in the RowSet command with the
@@ -759,8 +758,9 @@
      * 
      * @param parameterName
      *            name for parameter
-     * @param theClob
-     *            the Clob value to set
+     * @param theReader
+     *            the Reader which contains the Unicode data to set into the
+     *            parameter
      * @throws SQLException
      *             if an error occurs accessing the database.
      */
@@ -771,9 +771,8 @@
      * Sets the value of the specified parameter in the RowSet command with the
      * value of a supplied java.io.Reader.
      * 
-     * @param parameterIndex
-     *            index of the parameter to set, where the first parameter has
-     *            index = 1.
+     * @param parameterName
+     *            name for parameter
      * @param theReader
      *            the Reader which contains the Unicode data to set into the
      *            parameter
@@ -1087,8 +1086,9 @@
      * 
      * @param parameterName
      *            name for parameter
-     * @param theClob
-     *            the Clob value to set
+     * @param theReader
+     *            the Reader which contains the Unicode data to set into the
+     *            parameter
      * @throws SQLException
      *             if an error occurs accessing the database.
      */
@@ -1099,9 +1099,8 @@
      * Sets the value of the specified parameter in the RowSet command with the
      * value of a supplied java.io.Reader.
      * 
-     * @param parameterIndex
-     *            index of the parameter to set, where the first parameter has
-     *            index = 1.
+     * @param parameterName
+     *            name for parameter
      * @param theReader
      *            the Reader which contains the Unicode data to set into the
      *            parameter
@@ -1115,13 +1114,13 @@
 
     /**
      * Sets the value of the specified parameter in the RowSet command with the
-     * value of a supplied java.sql.Clob.
+     * value of a supplied java.sql.NClob.
      * 
      * @param parameterIndex
      *            index of the parameter to set, where the first parameter has
      *            index = 1.
-     * @param theClob
-     *            the Clob value to set
+     * @param theNClob
+     *            the NClob value to set
      * @throws SQLException
      *             if an error occurs accessing the database.
      */
@@ -1166,15 +1165,15 @@
      * Sets the value of the specified parameter in the RowSet command with the
      * value of a supplied java.sql.NClob.
      * 
-     * @param parameterIndex
-     *            index of the parameter to set, where the first parameter has
-     *            index = 1.
-     * @param value
-     *            the given NClob object
+     * @param parameterName
+     *            name for parameter
+     * @param theNClob
+     *            the NClob value to set
      * @throws SQLException
      *             if an error occurs accessing the database.
      */
-    public void setNClob(String parameterName, NClob value) throws SQLException;
+    public void setNClob(String parameterName, NClob theNClob)
+            throws SQLException;
 
     /**
      * Sets the value of the specified parameter in the RowSet command with the
@@ -1182,8 +1181,9 @@
      * 
      * @param parameterName
      *            name for parameter
-     * @param theNClob
-     *            the NClob value to set
+     * @param theReader
+     *            the Reader which contains the Unicode data to set into the
+     *            parameter
      * @throws SQLException
      *             if an error occurs accessing the database.
      */
@@ -1194,9 +1194,8 @@
      * Sets the value of the specified parameter in the RowSet command with the
      * value of a supplied java.io.Reader.
      * 
-     * @param parameterIndex
-     *            index of the parameter to set, where the first parameter has
-     *            index = 1.
+     * @param parameterName
+     *            name for parameter
      * @param theReader
      *            the Reader which contains the Unicode data to set into the
      *            parameter
@@ -1278,9 +1277,8 @@
      * NULL. This form of the <code>setNull</code> method should be used for
      * User Defined Types and REF parameters.
      * 
-     * @param parameterIndex
-     *            index of the parameter to set, where the first parameter has
-     *            index = 1.
+     * @param parameterName
+     *            name for parameter
      * @param sqlType
      *            the type of the parameter, as defined by java.sql.Types.
      * @throws SQLException
@@ -1696,13 +1694,13 @@
 
     /**
      * Sets the value of the specified parameter in the RowSet command to a
-     * supplied java.sql.Timestamp converting to an SQL TIMESTAMP value using a
-     * supplied Calendar.
+     * supplied java.sql.Timestamp converting to an SQL TIMESTAMP value
+     * using the system default {@code Calendar}.
      * 
      * @param parameterName
      *            name for parameter
-     * @param theCalendar
-     *            the Calendar to use in the conversion operation
+     * @param theTimestamp
+     *            the value to which the parameter is set
      * @throws SQLException
      *             if an error occurs accessing the database.
      */
@@ -1717,6 +1715,7 @@
      * @param parameterName
      *            name for parameter
      * @param theTimestamp
+     *            the value to which the parameter is set
      * @param theCalendar
      *            the Calendar to use in the conversion operation
      * @throws SQLException



Mime
View raw message