--- old/src/java.corba/share/classes/com/sun/corba/se/spi/monitoring/StatisticsAccumulator.java 2015-04-30 16:32:03.655461891 +0400 +++ new/src/java.corba/share/classes/com/sun/corba/se/spi/monitoring/StatisticsAccumulator.java 2015-04-30 16:32:03.575461891 +0400 @@ -27,11 +27,8 @@ import java.util.*; /** - *

- * * @author Hemanth Puttaswamy - *

- *

+ * * StatisticsAccumulator accumulates the samples provided by the user and * computes the value of minimum, maximum, sum and sample square sum. When * the StatisticMonitoredAttribute calls getValue(), it will compute all @@ -42,7 +39,6 @@ * Users can easily extend this class and provide the implementation of * toString() method to format the stats as desired. By default all the stats * are printed in a single line. - *

*/ public class StatisticsAccumulator { @@ -72,19 +68,12 @@ /** - *

* User will use this method to just register a sample with the * StatisticsAccumulator. This is the only method that User will use to * expose the statistics, internally the StatisticMonitoredAttribute will * collect the information when requested from the ASAdmin. - *

- *

- * - *

- *

* * @param value a double value to make it more precise - *

*/ public void sample(double value) { sampleCount++; @@ -137,19 +126,11 @@ } /** - *

* Construct the Statistics Accumulator by providing the unit as a String. - * The examples of units are "Hours", "Minutes", - * "Seconds", "MilliSeconds", "Micro Seconds" - * etc., - *

- *

+ * The examples of units are {@literal "Hours", "Minutes", + * "Seconds", "MilliSeconds", "Micro Seconds"} etc. * - * @return a StatisticsAccumulator with ... - *

- *

* @param unit a String representing the units for the samples collected - *

*/ public StatisticsAccumulator( String unit ) { this.unit = unit;