commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1537526 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
Date Thu, 31 Oct 2013 15:17:45 GMT
Author: sebb
Date: Thu Oct 31 15:17:45 2013
New Revision: 1537526

URL: http://svn.apache.org/r1537526
Log:
Use same type as interface being implemented

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java?rev=1537526&r1=1537525&r2=1537526&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
Thu Oct 31 15:17:45 2013
@@ -141,8 +141,7 @@ public class BasicDataSourceFactory impl
      * @exception Exception if an exception occurs creating the instance
      */
     @Override
-    public Object getObjectInstance(Object obj, Name name, Context nameCtx,
-            @SuppressWarnings("rawtypes") Hashtable environment)
+    public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?>
environment)
         throws Exception {
 
         // We only know how to deal with <code>javax.naming.Reference</code>s



Mime
View raw message