/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package org.apache.jmeter.report.processor;

/**
 * The class ValueResultData provides a value result from samples processing.
 * 
 * @since 3.0
 */
public class ValueResultData implements ResultData {

    private Object value;

    /**
     * Gets the value of the result.
     *
     * @return the value of the result
     */
    public final Object getValue() {
        return value;
    }

    /**
     * Sets the value of the result.
     *
     * @param value
     *            the new value of the result
     */
    public final void setValue(Object value) {
        this.value = value;
    }

    /**
     * Instantiates a new value result data.
     */
    public ValueResultData() {
    }

    /**
     * Instantiates a new value result data.
     *
     * @param value
     *            the value of the result
     */
    public ValueResultData(Object value) {
        setValue(value);
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * org.apache.jmeter.report.processor.ResultData#accept(org.apache.jmeter
     * .report.processor.ResultDataVisitor)
     */
    @Override
    public <T> T accept(ResultDataVisitor<T> visitor) {
        return visitor.visitValueResult(this);
    }

}

@@ -854,31 +854,10 @@
 * Th
-e class ValueResultData
+is
  pro
@@ -1013,136 +1013,81 @@
     
-/**%0A     * Gets the value of the result.%0A 
+public ValueResultData() %7B%0A
     
-*
+%7D%0A
 %0A    
- * @return the value of the result%0A     */%0A    public final 
+public ValueResultData(
 Object 
-getV
+v
 alue
-(
 ) %7B%0A
@@ -1098,154 +1098,31 @@
     
-return value;%0A    %7D%0A%0A    /**%0A     * Sets the value of the result.%0A     *%0A     * @param 
+setValue(
 value
+);
 %0A    
- *            the new value of the result%0A     */
+%7D%0A
 %0A   
@@ -1139,34 +1139,24 @@
 nal 
-void setValue(
 Object 
-v
+getV
 alue
+(
 ) %7B%0A
@@ -1167,20 +1167,14 @@
     
-this.value =
+return
  val
@@ -1192,259 +1192,34 @@
     
-/**%0A     * Instantiates a new value result data.%0A     */%0A    public ValueResultData() %7B%0A    %7D%0A%0A    /**%0A     * Instantiates a new value result data.%0A     *%0A     * @param value%0A     *            the value of the result%0A     */%0A    public ValueResultData
+public final void setValue
 (Obj
@@ -1235,39 +1235,42 @@
 ) %7B%0A        
-setV
+this.v
 alue
-(
+ = 
 value
-)
 ;%0A    %7D%0A%0A   

Reorder the methods of the class and remove useless javadoc. Part of #332 Contributed by Graham Russell