diff options
Diffstat (limited to 'libjava/classpath/java/sql/ResultSet.java')
-rw-r--r-- | libjava/classpath/java/sql/ResultSet.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libjava/classpath/java/sql/ResultSet.java b/libjava/classpath/java/sql/ResultSet.java index 79cba63d419..573deb3e105 100644 --- a/libjava/classpath/java/sql/ResultSet.java +++ b/libjava/classpath/java/sql/ResultSet.java @@ -1309,7 +1309,8 @@ public interface ResultSet * @return The value of the column as an <code>Object</code>. * @exception SQLException If an error occurs. */ - Object getObject(int columnIndex, Map map) throws SQLException; + Object getObject(int columnIndex, Map<String, Class<?>> map) + throws SQLException; /** * This method returns a <code>Ref</code> for the specified column which @@ -1357,7 +1358,8 @@ public interface ResultSet * @return The value of the column as an <code>Object</code>. * @exception SQLException If an error occurs. */ - Object getObject(String columnName, Map map) throws SQLException; + Object getObject(String columnName, Map<String, Class<?>> map) + throws SQLException; /** * This method returns a <code>Ref</code> for the specified column which |