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:00:47 UTC

svn commit: r1776142 - in /jmeter/trunk/src/core/org/apache/jmeter/report/processor: ResultData.java ResultDataVisitor.java

Author: fschumacher
Date: Tue Dec 27 15:00:46 2016
New Revision: 1776142

URL: http://svn.apache.org/viewvc?rev=1776142&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/processor/ResultData.java
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultDataVisitor.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultData.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultData.java?rev=1776142&r1=1776141&r2=1776142&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultData.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultData.java Tue Dec 27 15:00:46 2016
@@ -29,6 +29,7 @@ public interface ResultData {
      *
      * @param visitor
      *            the visitor (must not be {@code null})
+     * @paran <T> type of the results of the {@link ResultDataVisitor}
      */
-    <TVisit> TVisit accept(ResultDataVisitor<TVisit> visitor);
+    <T> T accept(ResultDataVisitor<T> visitor);
 }

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultDataVisitor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultDataVisitor.java?rev=1776142&r1=1776141&r2=1776142&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultDataVisitor.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/ResultDataVisitor.java Tue Dec 27 15:00:46 2016
@@ -21,11 +21,11 @@ package org.apache.jmeter.report.process
  * The interface ResultDataVisitor represents a visitor for result data from
  * samples processing.
  *
- * @param <TVisit>
+ * @param <T>
  *            the type returned by visit methods
  * @since 3.0
  */
-public interface ResultDataVisitor<TVisit> {
+public interface ResultDataVisitor<T> {
 
     /**
      * Visits the specified list result.
@@ -34,7 +34,7 @@ public interface ResultDataVisitor<TVisi
      *            the list result
      * @return the result of the visit
      */
-    TVisit visitListResult(ListResultData listResult);
+    T visitListResult(ListResultData listResult);
 
     /**
      * Visits the specified map result.
@@ -43,7 +43,7 @@ public interface ResultDataVisitor<TVisi
      *            the map result
      * @return the result of the visit
      */
-    TVisit visitMapResult(MapResultData mapResult);
+    T visitMapResult(MapResultData mapResult);
 
     /**
      * Visits the specified value result.
@@ -52,5 +52,5 @@ public interface ResultDataVisitor<TVisi
      *            the value result
      * @return the result of the visit
      */
-    TVisit visitValueResult(ValueResultData valueResult);
+    T visitValueResult(ValueResultData valueResult);
 }