You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2016/12/27 15:09:21 UTC

svn commit: r1776145 - /jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/AbstractDataExporter.java

Author: fschumacher
Date: Tue Dec 27 15:09:21 2016
New Revision: 1776145

URL: http://svn.apache.org/viewvc?rev=1776145&view=rev
Log:
javadoc: Rename type param to comply with java coding standards and document usage.

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/AbstractDataExporter.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/AbstractDataExporter.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/AbstractDataExporter.java?rev=1776145&r1=1776144&r2=1776145&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/AbstractDataExporter.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/AbstractDataExporter.java Tue Dec 27 15:09:21 2016
@@ -45,11 +45,13 @@ public abstract class AbstractDataExport
      *            the name of the data containing the value
      * @param root
      *            the root of the tree
+     * @param <T>
+     *            type of value to be found
      * @return the value matching the data name
      */
-    protected static <TValue> TValue findValue(Class<TValue> clazz, String data,
+    protected static <T> T findValue(Class<T> clazz, String data,
             ResultData root) {
-        TValue value = null;
+        T value = null;
         ResultData result = findData(data, root);
         if (result instanceof ValueResultData) {
             ValueResultData valueResult = (ValueResultData) result;