8028149: Clean-up javac -Xlint warnings in com.sun.rowset and com.sun.rowset.internal
authorlancea
Mon, 11 Nov 2013 14:22:22 -0500
changeset 21645 1276aab8ff2f
parent 21644 12edcc716b48
child 21646 38f9ba0664de
8028149: Clean-up javac -Xlint warnings in com.sun.rowset and com.sun.rowset.internal Reviewed-by: darcy
jdk/src/share/classes/com/sun/rowset/CachedRowSetImpl.java
jdk/src/share/classes/com/sun/rowset/internal/BaseRow.java
--- a/jdk/src/share/classes/com/sun/rowset/CachedRowSetImpl.java	Mon Nov 11 16:06:16 2013 +0000
+++ b/jdk/src/share/classes/com/sun/rowset/CachedRowSetImpl.java	Mon Nov 11 14:22:22 2013 -0500
@@ -541,7 +541,7 @@
         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;
--- a/jdk/src/share/classes/com/sun/rowset/internal/BaseRow.java	Mon Nov 11 16:06:16 2013 +0000
+++ b/jdk/src/share/classes/com/sun/rowset/internal/BaseRow.java	Mon Nov 11 14:22:22 2013 -0500
@@ -52,6 +52,11 @@
 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 @@
  * @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 @@
  * @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;
 }