diff --git a/jdk/src/share/classes/com/sun/rowset/CachedRowSetImpl.java b/jdk/src/share/classes/com/sun/rowset/CachedRowSetImpl.java index 7a7f693022d..80109fd6421 100644 --- a/jdk/src/share/classes/com/sun/rowset/CachedRowSetImpl.java +++ b/jdk/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/jdk/src/share/classes/com/sun/rowset/internal/BaseRow.java b/jdk/src/share/classes/com/sun/rowset/internal/BaseRow.java index 814e7456f0d..dec4270e9ab 100644 --- a/jdk/src/share/classes/com/sun/rowset/internal/BaseRow.java +++ b/jdk/src/share/classes/com/sun/rowset/internal/BaseRow.java @@ -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 BaseRow * object. @@ -77,7 +82,7 @@ public abstract class BaseRow implements Serializable, Cloneable { * @param idx the index of the element to return * @return the Object value at the given index into this * row's array of original values - * @throws SQLException 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 Object to which the element at index * idx to be set - * @throws SQLException if there is an error + * @throws SQLException if there is an error */ public abstract void setColumnObject(int idx, Object obj) throws SQLException; }