jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1855691 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/AbstractGraphiteMetricsSender.java
Date Sun, 17 Mar 2019 13:00:47 GMT
Author: fschumacher
Date: Sun Mar 17 13:00:47 2019
New Revision: 1855691

URL: http://svn.apache.org/viewvc?rev=1855691&view=rev
Log:
Add generics parameter to method variable.

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/AbstractGraphiteMetricsSender.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/AbstractGraphiteMetricsSender.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/AbstractGraphiteMetricsSender.java?rev=1855691&r1=1855690&r2=1855691&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/AbstractGraphiteMetricsSender.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/AbstractGraphiteMetricsSender.java
Sun Mar 17 13:00:47 2019
@@ -38,7 +38,7 @@ abstract class AbstractGraphiteMetricsSe
      * @return GenericKeyedObjectPool the newly generated pool
      */
     protected GenericKeyedObjectPool<SocketConnectionInfos, SocketOutputStream> createSocketOutputStreamPool()
{
-        GenericKeyedObjectPoolConfig config = new GenericKeyedObjectPoolConfig();
+        GenericKeyedObjectPoolConfig<SocketOutputStream> config = new GenericKeyedObjectPoolConfig<>();
         config.setTestOnBorrow(true);
         config.setTestWhileIdle(true);
         config.setMaxTotalPerKey(-1);



Mime
View raw message