jdk/src/share/classes/javax/sql/rowset/serial/SerialStruct.java
changeset 11129 f9ad1aadf3fa
parent 6692 aef4e294026f
child 11683 5e02efd89af6
--- a/jdk/src/share/classes/javax/sql/rowset/serial/SerialStruct.java	Fri Dec 02 16:29:19 2011 -0800
+++ b/jdk/src/share/classes/javax/sql/rowset/serial/SerialStruct.java	Fri Dec 02 19:33:54 2011 -0500
@@ -139,7 +139,7 @@
         //set the type name
         SQLTypeName = in.getSQLTypeName();
 
-        Vector tmp = new Vector();
+        Vector<Object> tmp = new Vector<>();
         in.writeSQL(new SQLOutputImpl(tmp, map));
         attribs = tmp.toArray();
 
@@ -220,7 +220,7 @@
      *        that defines how the UDT is to be mapped
      * @throws SerialException if an error occurs
      */
-    private void mapToSerial(Map map) throws SerialException {
+    private void mapToSerial(Map<String,Class<?>> map) throws SerialException {
 
         try {