aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlancea <none@none>2013-11-11 14:22:22 -0500
committerlancea <none@none>2013-11-11 14:22:22 -0500
commit6c60c644be78fb885976a36b1fd58f595fe5a013 (patch)
tree3eab9ab5278a57156712ce24a65df33dbc916ac3 /src
parent16e7f63f99ce9cb12a9cba94f5c2ab4c5781bff7 (diff)
8028149: Clean-up javac -Xlint warnings in com.sun.rowset and com.sun.rowset.internal
Reviewed-by: darcy
Diffstat (limited to 'src')
-rw-r--r--src/share/classes/com/sun/rowset/CachedRowSetImpl.java2
-rw-r--r--src/share/classes/com/sun/rowset/internal/BaseRow.java9
2 files changed, 8 insertions, 3 deletions
diff --git a/src/share/classes/com/sun/rowset/CachedRowSetImpl.java b/src/share/classes/com/sun/rowset/CachedRowSetImpl.java
index 7a7f69302..80109fd64 100644
--- a/src/share/classes/com/sun/rowset/CachedRowSetImpl.java
+++ b/src/share/classes/com/sun/rowset/CachedRowSetImpl.java
@@ -541,7 +541,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern
if (rowSetWriter != null) {
Class<?> c = rowSetWriter.getClass();
if (c != null) {
- Class[] theInterfaces = c.getInterfaces();
+ Class<?>[] theInterfaces = c.getInterfaces();
for (int i = 0; i < theInterfaces.length; i++) {
if ((theInterfaces[i].getName()).indexOf("TransactionalWriter") > 0) {
tXWriter = true;
diff --git a/src/share/classes/com/sun/rowset/internal/BaseRow.java b/src/share/classes/com/sun/rowset/internal/BaseRow.java
index 814e7456f..dec4270e9 100644
--- a/src/share/classes/com/sun/rowset/internal/BaseRow.java
+++ b/src/share/classes/com/sun/rowset/internal/BaseRow.java
@@ -52,6 +52,11 @@ import java.util.Arrays;
public abstract class BaseRow implements Serializable, Cloneable {
/**
+ * Specify the serialVersionUID
+ */
+private static final long serialVersionUID = 4152013523511412238L;
+
+/**
* The array containing the original values for this <code>BaseRow</code>
* object.
* @serial
@@ -77,7 +82,7 @@ public abstract class BaseRow implements Serializable, Cloneable {
* @param idx the index of the element to return
* @return the <code>Object</code> value at the given index into this
* row's array of original values
- * @throws <code>SQLException</code> if there is an error
+ * @throws SQLException if there is an error
*/
public abstract Object getColumnObject(int idx) throws SQLException;
@@ -90,7 +95,7 @@ public abstract class BaseRow implements Serializable, Cloneable {
* @param idx the index of the element to be set
* @param obj the <code>Object</code> to which the element at index
* <code>idx</code> to be set
- * @throws <code>SQLException</code> if there is an error
+ * @throws SQLException if there is an error
*/
public abstract void setColumnObject(int idx, Object obj) throws SQLException;
}