jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1816331 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/ValueResultData.java
Date Sat, 25 Nov 2017 17:13:50 GMT
Author: fschumacher
Date: Sat Nov 25 17:13:49 2017
New Revision: 1816331

URL: http://svn.apache.org/viewvc?rev=1816331&view=rev
Log:
Reorder the methods of the class and remove useless javadoc. Part of #332 Contributed by Graham
Russell

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/ValueResultData.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/ValueResultData.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/ValueResultData.java?rev=1816331&r1=1816330&r2=1816331&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/ValueResultData.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/ValueResultData.java Sat Nov
25 17:13:49 2017
@@ -18,7 +18,7 @@
 package org.apache.jmeter.report.processor;
 
 /**
- * The class ValueResultData provides a value result from samples processing.
+ * This provides a value result from samples processing.
  * 
  * @since 3.0
  */
@@ -26,39 +26,19 @@ public class ValueResultData implements
 
     private Object value;
 
-    /**
-     * Gets the value of the result.
-     *
-     * @return the value of the result
-     */
-    public final Object getValue() {
-        return value;
+    public ValueResultData() {
     }
 
-    /**
-     * Sets the value of the result.
-     *
-     * @param value
-     *            the new value of the result
-     */
-    public final void setValue(Object value) {
-        this.value = value;
+    public ValueResultData(Object value) {
+        setValue(value);
     }
 
-    /**
-     * Instantiates a new value result data.
-     */
-    public ValueResultData() {
+    public final Object getValue() {
+        return value;
     }
 
-    /**
-     * Instantiates a new value result data.
-     *
-     * @param value
-     *            the value of the result
-     */
-    public ValueResultData(Object value) {
-        setValue(value);
+    public final void setValue(Object value) {
+        this.value = value;
     }
 
     /*



Mime
View raw message