commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1539821 - in /commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils: TestResultSet.java TestResultSetMetaData.java
Date Thu, 07 Nov 2013 21:04:30 GMT
Author: oheger
Date: Thu Nov  7 21:04:30 2013
New Revision: 1539821

URL: http://svn.apache.org/r1539821
Log:
Fixed warnings in test classes.

Modified:
    commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSet.java
    commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSetMetaData.java

Modified: commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSet.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSet.java?rev=1539821&r1=1539820&r2=1539821&view=diff
==============================================================================
--- commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSet.java
(original)
+++ commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSet.java
Thu Nov  7 21:04:30 2013
@@ -88,7 +88,7 @@ public class TestResultSet implements In
      */
     public static ResultSet createProxy(InvocationHandler invocationHandler) {
         ClassLoader classLoader = ResultSet.class.getClassLoader();
-        Class[] interfaces = new Class[] { ResultSet.class };
+        Class<?>[] interfaces = new Class[] { ResultSet.class };
         return (ResultSet)Proxy.newProxyInstance(classLoader, interfaces, invocationHandler);
     }
 
@@ -472,12 +472,12 @@ public class TestResultSet implements In
     }
 
 
-    public Object getObject(int columnIndex, Map map) throws SQLException {
+    public Object getObject(int columnIndex, Map<?, ?> map) throws SQLException {
         throw new UnsupportedOperationException();
     }
 
 
-    public Object getObject(String columnName, Map map) throws SQLException {
+    public Object getObject(String columnName, Map<?, ?> map) throws SQLException {
         throw new UnsupportedOperationException();
     }
 

Modified: commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSetMetaData.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSetMetaData.java?rev=1539821&r1=1539820&r2=1539821&view=diff
==============================================================================
--- commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSetMetaData.java
(original)
+++ commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/TestResultSetMetaData.java
Thu Nov  7 21:04:30 2013
@@ -77,7 +77,7 @@ public class TestResultSetMetaData imple
      */
     public static ResultSetMetaData createProxy(InvocationHandler invocationHandler) {
         ClassLoader classLoader = ResultSetMetaData.class.getClassLoader();
-        Class[] interfaces = new Class[] { ResultSetMetaData.class };
+        Class<?>[] interfaces = new Class[] { ResultSetMetaData.class };
         return (ResultSetMetaData)Proxy.newProxyInstance(classLoader, interfaces, invocationHandler);
     }
 



Mime
View raw message