8028149: Clean-up javac -Xlint warnings in com.sun.rowset and com.sun.rowset.internal

Reviewed-by: darcy
This commit is contained in:
Lance Andersen 2013-11-11 14:22:22 -05:00
parent 536e058b8b
commit cfe1c39c10
2 changed files with 8 additions and 3 deletions

View File

@ -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;

View File

@ -51,6 +51,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.
@ -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;
}