commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1680124 - /commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
Date Mon, 18 May 2015 23:21:27 GMT
Author: ggregory
Date: Mon May 18 23:21:27 2015
New Revision: 1680124

URL: http://svn.apache.org/r1680124
Log:
Redundant specification of type arguments.

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

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java?rev=1680124&r1=1680123&r2=1680124&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/BasicDataSourceFactory.java
Mon May 18 23:21:27 2015
@@ -616,7 +616,7 @@ public class BasicDataSourceFactory impl
     private static Collection<String> parseList(String value, char delimiter) {
         StringTokenizer tokenizer = new StringTokenizer(value, Character.toString(delimiter));
         Collection<String> tokens =
-                new ArrayList<String>(tokenizer.countTokens());
+                new ArrayList<>(tokenizer.countTokens());
         while (tokenizer.hasMoreTokens()) {
             tokens.add(tokenizer.nextToken());
         }



Mime
View raw message