Removes unnecessary whitespace from org.eclipse.test.performance
Change-Id: I74fdc7783442e687a71427ee08f35a9be81ad5e5
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/perfmsr/core/PerformanceMonitor.java b/bundles/org.eclipse.test.performance/src/org/eclipse/perfmsr/core/PerformanceMonitor.java
index da572df..44f261f 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/perfmsr/core/PerformanceMonitor.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/perfmsr/core/PerformanceMonitor.java
@@ -33,7 +33,7 @@
/**
* Answer true if the native library for this class has been successfully loaded. If the load has not been attempted yet, try to
* load it.
- *
+ *
* @return true if native library has been successfully loaded
*/
public static boolean isLoaded() {
@@ -52,7 +52,7 @@
/**
* Calls the Windows GetPerformanceInfo function
- *
+ *
* @param counters
* any array of counters that corresponds to the Windows PERFORMANCE_INFORMATION structure.
*/
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/OrderedTestSuite.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/OrderedTestSuite.java
index be1b336..711a2ee 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/OrderedTestSuite.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/OrderedTestSuite.java
@@ -32,20 +32,20 @@
/**
* Test suite with user-specified test order (fails if not all test methods are listed) or bytecode declaration order.
- *
+ *
* <p>
* <b>Background:</b> {@link java.lang.Class#getDeclaredMethods()} does not specify the order of the methods. Up to Java SE 6, the
* methods were usually sorted in declaration order, but in Java SE 7 and later, the order is random. This class guarantees reliable
* test execution order even for questionable VM implementations.
* </p>
- *
+ *
* @since 3.8
*/
public class OrderedTestSuite extends TestSuite {
/**
* Creates a new ordered test suite that runs tests in the specified execution order.
- *
+ *
* @param testClass
* the JUnit-3-style test class
* @param testMethods
@@ -81,7 +81,7 @@
/**
* Creates a new test suite that runs tests in bytecode declaration order.
- *
+ *
* @param testClass
* the JUnit-3-style test class
* @since 3.9
@@ -92,7 +92,7 @@
/**
* Creates a new test suite that runs tests in bytecode declaration order.
- *
+ *
* @param testClass
* the JUnit-3-style test class
* @param name
@@ -146,13 +146,13 @@
/**
* Returns the names of JUnit-3-style test cases declared in the given <code>testClass</code> and its superclasses, in bytecode
* declaration order, listing test cases from a class before the non-overridden test cases from its superclass.
- *
+ *
* @param testClass
* the JUnit-3-style test class
* @return a modifiable <code>List<String></code> of test names in bytecode declaration order
* @throws IOException
* if an I/O error occurs.
- *
+ *
* @since 3.10
*/
public static List<String> getBytecodeOrderedTestNames(Class<? extends TestCase> testClass) throws IOException {
@@ -169,7 +169,7 @@
/*
* XXX: This method needs to be updated if new constant pool tags are specified. Current supported major class file version:
* 52 (Java SE 8).
- *
+ *
* See JVMS 8, 4.4 The Constant Pool.
*/
String className = c.getName();
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/Screenshots.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/Screenshots.java
index 733a681..a385da8 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/Screenshots.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/Screenshots.java
@@ -20,7 +20,7 @@
/**
* Helper class to take screenshots from running tests.
- *
+ *
* @since 3.13
*/
public final class Screenshots {
@@ -30,12 +30,12 @@
* <p>
* Workaround for missing {@link junit.framework.TestCase#getName()} in JUnit 4:
* </p>
- *
+ *
* <pre>
* @Rule
* public TestName testName = new TestName();
* </pre>
- *
+ *
* @param testClass
* test class that takes the screenshot
* @param name
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/OSPerformanceMeter.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/OSPerformanceMeter.java
index b612f50..1ad4caf 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/OSPerformanceMeter.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/OSPerformanceMeter.java
@@ -80,7 +80,7 @@
/**
* Write out the run element if it hasn't been written out yet.
- *
+ *
* @param runProperties
*/
private void collectRunInfo(HashMap runProperties) {
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorLinux.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorLinux.java
index 5aabc18..2533002 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorLinux.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorLinux.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2003, 2016 IBM Corporation and others.
+ * Copyright (c) 2003, 2016 IBM Corporation and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at
@@ -28,7 +28,7 @@
/**
* Write out operating system counters for Linux.
- *
+ *
* @param scalars
*/
@Override
@@ -111,7 +111,7 @@
/**
* Write out the global machine counters for Linux.
- *
+ *
* @param scalars
*/
@Override
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorMac.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorMac.java
index b087e0f..22945a0 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorMac.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorMac.java
@@ -37,7 +37,7 @@
/**
* Answer true if the native library for this class has been successfully loaded. If the load has not been attempted yet, try to
* load it.
- *
+ *
* @return returns true if native library has been successfullz loaded
*/
public static boolean isLoaded() {
@@ -56,7 +56,7 @@
/**
* Write out operating system counters for Mac OS X.
- *
+ *
* @param scalars
* where to collect the data
*/
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorWindows.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorWindows.java
index 732199a..dc873d2 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorWindows.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/PerformanceMonitorWindows.java
@@ -54,11 +54,11 @@
/**
* Collect global performance info. This includes things like the total committed memory for the entire system.
- *
+ *
* This function depends on the GetPerformanceInfo() function being available in the Windows ivjperf.dll. This is available in
* XP but is usually not available in Win2000. If it is not available then this function throws an
* UnsupportedOperationException.
- *
+ *
* @param scalars
*/
@Override
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/data/Unit.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/data/Unit.java
index 10c42d4..99e91eb 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/data/Unit.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/data/Unit.java
@@ -23,7 +23,7 @@
public class Unit implements Serializable {
private static final long serialVersionUID = 1L;
-
+
public static final Unit SECOND = new Unit("s", "second", false); //$NON-NLS-1$ //$NON-NLS-2$
public static final Unit BYTE = new Unit("byte", "byte", true); //$NON-NLS-1$ //$NON-NLS-2$
public static final Unit CARDINAL = new Unit("", "", false); //$NON-NLS-1$ //$NON-NLS-2$
@@ -78,9 +78,9 @@
* int div= fIsBinary ? T_BINARY : T_DECIMAL; boolean negative= magnitude < 0; double mag= Math.abs(magnitude), ratio= mag /
* div; int divs= PREFIXES.length / 2; while (ratio >= 1) { mag= ratio; divs++; ratio= mag / div; } ratio= mag * div; while
* (ratio > 0.0 && ratio < div) { mag= ratio; divs--; ratio= mag * div; }
- *
+ *
* if (negative) mag= -mag;
- *
+ *
* String[] prefixes= fIsBinary ? BINARY_PREFIXES : PREFIXES; NumberFormat format= NumberFormat.getInstance();
* format.setMaximumFractionDigits(fPrecision); if (divs > 0 && divs <= prefixes.length) return prefixes[divs] +
* getShortName() + format.format(mag); else return getShortName() + magnitude;
@@ -94,10 +94,10 @@
/**
* Answer a formatted string for the elapsed time (minutes, hours or days) that is appropriate for the scale of the time.
- *
+ *
* @param diff
* time in milliseconds
- *
+ *
* I copied this from karasiuk.utility.TimeIt
* @return the formatted time
*/
@@ -128,9 +128,9 @@
/**
* Answer a number formatted using engineering conventions, K thousands, M millions, G billions and T trillions.
- *
+ *
* I copied this method from karasiuk.utility.Misc.
- *
+ *
* @param n
* the number to format
* @return the formatted number
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/DB.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/DB.java
index 11c3566..56a96a3 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/DB.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/DB.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2016 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at
@@ -522,7 +522,7 @@
if (DEBUG) {
System.out.print(" - query data points from DB for scenario " + scenarioName + "..."); //$NON-NLS-1$ //$NON-NLS-2$
}
-
+
final ArrayList<DataPoint> dataPoints = new ArrayList<>();
try (ResultSet rs = fSQL.queryDataPoints(variations, scenarioName)){
if (DEBUG) {
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/DBHelpers.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/DBHelpers.java
index 41de492..c969d96 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/DBHelpers.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/DBHelpers.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2016 IBM Corporation and others.
+ * Copyright (c) 2005, 2016 IBM Corporation and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at
@@ -264,7 +264,7 @@
void dumpSizes(PrintStream ps) throws SQLException {
if (fConnection == null)
return;
-
+
try (Statement stmt = fConnection.createStatement(); ResultSet rs = stmt.executeQuery("SELECT sys.systables.tablename FROM sys.systables WHERE sys.systables.tablename NOT LIKE 'SYS%' ")) { //$NON-NLS-1$
// $NON-NLS-1$
while (rs.next())
@@ -285,7 +285,7 @@
return;
if (maxRow < 0)
maxRow = 1000000;
-
+
try (Statement stmt = fConnection.createStatement(); ResultSet rs = stmt.executeQuery("select SYS.SYSTABLES.TABLENAME from SYS.SYSTABLES where SYS.SYSTABLES.TABLENAME not like 'SYS%' ")) { //$NON-NLS-1$
while (rs.next()) {
dumpTable(ps, rs.getString(1), maxRow);
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/Scenario.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/Scenario.java
index 4c8d05f..8c97a6b 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/Scenario.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/Scenario.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2016 IBM Corporation and others.
+ * Copyright (c) 2004, 2016 IBM Corporation and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at
@@ -29,7 +29,7 @@
* A Scenario contains a series of data points for a single scenario. The axis of the data points can be specified when creating a
* scenario. Typical examples are: - datapoints corresponding to different builds - datapoints corresponding to different OSes -
* datapoints corresponding to different JVMs
- *
+ *
* @since 3.1
*/
public class Scenario {
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java
index b15092a..81f4749 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java
@@ -30,7 +30,7 @@
/**
* Returns length of series.
- *
+ *
* @return length of series
*/
public int getLength() {
@@ -39,7 +39,7 @@
/**
* Returns value at given index.
- *
+ *
* @param ix
* @return value at given index
*/
@@ -49,7 +49,7 @@
/**
* Returns std dev at given index.
- *
+ *
* @param ix
* @return std dev at given index
*/
@@ -59,7 +59,7 @@
/**
* Returns label at given index.
- *
+ *
* @param ix
* @return label at given index
*/
@@ -69,7 +69,7 @@
/**
* Returns the sample size at the given index.
- *
+ *
* @param ix
* @return the sample size at the given index
*/
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/Variations.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/Variations.java
index 4edbc5d..033d7d9 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/Variations.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/Variations.java
@@ -36,7 +36,7 @@
/**
* Creates a Variations object that is populated with a "config" and a "build" key/value pair.
- *
+ *
* @param configValue
* a value to store under the config key
* @param buildValue
@@ -53,11 +53,11 @@
/**
* Creates a set of key/value pairs by parsing the given string. The format of the string must be:
- *
+ *
* <pre>
* key1=value1;key2=value2; .... ; keyn=valuen
* </pre>
- *
+ *
* @param keyValuePairs
*/
public Variations(String keyValuePairs) {
@@ -83,7 +83,7 @@
/**
* parsing the given string as key/value pairs and stores them in Variations. The string's format is an implementation detail of
* the database.
- *
+ *
* @param keyvaluepairs
* @param separator
*/
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/AssertChecker.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/AssertChecker.java
index 245692f..b00d039 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/AssertChecker.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/AssertChecker.java
@@ -48,7 +48,7 @@
/**
* Evaluates the predicate.
- *
+ *
* @param reference
* statistics of dimensions of the reference metering session
* @param measured
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/Evaluator.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/Evaluator.java
index 21c1997..029ea04 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/Evaluator.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/Evaluator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2016 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at
@@ -26,7 +26,7 @@
/**
* The default implementation of an evaluator backed by a database.
- *
+ *
* @since 3.1
*/
public class Evaluator extends EmptyEvaluator {
@@ -51,10 +51,10 @@
PerformanceTestPlugin.logWarning("refkeys was null. " + PerformanceTestPlugin.ECLIPSE_PERF_ASSERTAGAINST + " was " + assertKey); //$NON-NLS-1$ //$NON-NLS-2$
return; // nothing to do
}
- // else
+ // else
PerformanceTestPlugin.logInfo("refkeys was: " + refKeys.toString() + " \n\t based on " + PerformanceTestPlugin.ECLIPSE_PERF_ASSERTAGAINST + " being set to " + assertKey); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-
-
+
+
if (!(performanceMeter instanceof InternalPerformanceMeter))
return; // we cannot handle this.
@@ -95,7 +95,7 @@
StatisticsSession referenceStats = new StatisticsSession(datapoints);
StatisticsSession measuredStats = new StatisticsSession(sessionDatapoints);
- StringBuffer failMesg = new StringBuffer("Performance criteria not met when compared to '" + refKeys + "':"); //$NON-NLS-1$ //$NON-NLS-2$
+ StringBuffer failMesg = new StringBuffer("Performance criteria not met when compared to '" + refKeys + "':"); //$NON-NLS-1$ //$NON-NLS-2$
boolean pass = true;
for (int i = 0; i < fCheckers.length; i++) {
AssertChecker chk = fCheckers[i];
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/IEvaluator.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/IEvaluator.java
index 85e2583..cc00d3d 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/IEvaluator.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/IEvaluator.java
@@ -24,7 +24,7 @@
/**
* Evaluates the given performance meter by comparing its measurements against the reference data selected with
* <code>setReferenceFilterProperties</code>.
- *
+ *
* @param performanceMeter
* the performance meter
* @throws RuntimeException
@@ -34,7 +34,7 @@
/**
* Sets the asserts that should be evaluated by the evaluator.
- *
+ *
* @param asserts
* the assert checkers that should be evaluated by the evaluator
*/
@@ -42,7 +42,7 @@
/**
* Selects the reference build against which the current session will be compared in <code>evaluate</code>.
- *
+ *
* @param driver
* @param timestamp
* the timestamp of the reference, may be null to use any
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/StatisticsSession.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/StatisticsSession.java
index bb212c3..afaf30f 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/StatisticsSession.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/StatisticsSession.java
@@ -73,7 +73,7 @@
/**
* Returns the confidence interval for the given dimension and the percentile.
- *
+ *
* @param dimension
* the dimension
* @param percentile
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/StatisticsUtil.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/StatisticsUtil.java
index 02153ef..e25df50 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/StatisticsUtil.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/eval/StatisticsUtil.java
@@ -18,14 +18,14 @@
/**
* Utility methods for statistics.
- *
+ *
* @since 3.2
*/
public final class StatisticsUtil {
/**
* Percentile constants class.
- *
+ *
* @since 3.2
*/
public static final class Percentile {
@@ -40,7 +40,7 @@
/**
* Returns how much is within the percentile, [0, 1]
- *
+ *
* @return the inside quotient
*/
public double inside() {
@@ -56,7 +56,7 @@
/**
* Returns the student's t value from the two-tailed t-table. For a degree-of-freedom larger than 100, the value for 100 is
* returned.
- *
+ *
* @param df
* the degrees of freedom (usually sample size - 1)
* @param percentile
@@ -87,7 +87,7 @@
* <p>
* XXX the current implementation assumes that the standard deviations are sufficiently similar.
* </p>
- *
+ *
* @param refSeries
* the time series containing the first data set
* @param index1
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/tests/TestPerformanceMeter.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/tests/TestPerformanceMeter.java
index 0cf5540..ffa9df4 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/tests/TestPerformanceMeter.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/tests/TestPerformanceMeter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2016 IBM Corporation and others.
+ * Copyright (c) 2004, 2016 IBM Corporation and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/Dimension.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/Dimension.java
index 00cc5d3..eca8db9 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/Dimension.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/Dimension.java
@@ -22,7 +22,7 @@
* Some predefined dimensions most likely supported on all platforms.
*
* This interface is not intended to be implemented by clients.
- *
+ *
* @since 3.1
*/
public interface Dimension extends Serializable {
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/Performance.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/Performance.java
index f2863ef..462c3ed 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/Performance.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/Performance.java
@@ -35,9 +35,9 @@
/**
* Helper for performance measurements. Currently provides performance meter creation and checking of measurements.
- *
+ *
* This class is not intended to be subclassed by clients.
- *
+ *
* @since 3.1
*/
public class Performance {
@@ -67,7 +67,7 @@
/**
* Returns the singleton of <code>Performance</code>
- *
+ *
* @return the singleton of <code>Performance</code>
*/
public static Performance getDefault() {
@@ -78,7 +78,7 @@
/**
* Asserts default properties of the measurements captured by the given performance meter.
- *
+ *
* @param performanceMeter
* the performance meter
* @throws RuntimeException
@@ -102,7 +102,7 @@
* Asserts that the measurement specified by the dimension captured in the given performance meter is within a certain range
* with respect to some reference value. If the performance meter doesn't provide the specified dimension, the call has no
* effect.
- *
+ *
* @param performanceMeter
* the performance meter
* @param dim
@@ -126,7 +126,7 @@
* Asserts that the measurement specified by the dimension captured in the given performance meter is within a certain range
* with respect to some reference value. If the performance meter doesn't provide the specified dimension, the call has no
* effect.
- *
+ *
* @param performanceMeter
* the performance meter
* @param dim
@@ -148,7 +148,7 @@
/**
* Creates a performance meter for the given scenario id.
- *
+ *
* @param scenarioId
* the scenario id
* @return a performance meter for the given scenario id
@@ -161,7 +161,7 @@
/**
* Returns the null performance meter singleton.
- *
+ *
* @return the null performance meter singleton
*/
public PerformanceMeter getNullPerformanceMeter() {
@@ -173,7 +173,7 @@
/**
* Returns a default scenario id for the given test. The test's name must have been set, such that <code>test.getName()</code>
* is not <code>null</code>.
- *
+ *
* @param test
* the test
* @return the default scenario id for the test
@@ -185,7 +185,7 @@
/**
* Returns a default scenario id for the given test and id. The test's name must have been set, such that
* <code>test.getName()</code> is not <code>null</code>. The id distinguishes multiple scenarios in the same test.
- *
+ *
* @param test
* the test
* @param id
@@ -257,7 +257,7 @@
/**
* Mark the scenario represented by the given PerformanceMeter to be included into the global and the component performance
* summary. The summary shows the given dimension of the scenario and labels the scenario with the short name.
- *
+ *
* @param pm
* the PerformanceMeter
* @param shortName
@@ -272,7 +272,7 @@
/**
* Mark the scenario represented by the given PerformanceMeter to be included into the global and the component performance
* summary. The summary shows the given dimensions of the scenario and labels the scenario with the short name.
- *
+ *
* @param pm
* the PerformanceMeter
* @param shortName
@@ -290,7 +290,7 @@
/**
* Mark the scenario represented by the given PerformanceMeter to be included into the component performance summary. The
* summary shows the given dimension of the scenario and labels the scenario with the short name.
- *
+ *
* @param pm
* the PerformanceMeter
* @param shortName
@@ -305,7 +305,7 @@
/**
* Mark the scenario represented by the given PerformanceMeter to be included into the component performance summary. The
* summary shows the given dimensions of the scenario and labels the scenario with the short name.
- *
+ *
* @param pm
* the PerformanceMeter
* @param shortName
@@ -324,7 +324,7 @@
* Set a comment for the scenario represented by the given PerformanceMeter. Currently only comments with a commentKind of
* EXPLAINS_DEGRADATION_COMMENT are used. Their commentText is shown in a hover of the performance summaries graph if a
* performance degradation exists.
- *
+ *
* @param pm
* the PerformanceMeter
* @param commentKind
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/PerformanceMeter.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/PerformanceMeter.java
index ba754e4..ac6e49a 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/PerformanceMeter.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/PerformanceMeter.java
@@ -16,23 +16,23 @@
/**
* A <code>PerformanceMeter</code> is used for doing repeated measurements of an arbitrary operation.
- *
+ *
* The kind of measurement and the retrieval of the results remain internal to the implementation. Measurements can include time,
* CPU cycle and memory consumption.
- *
+ *
* A <code>PerformanceMeter</code> is created using the method {@link Performance#createPerformanceMeter(String)}. An operation is
* measured by calling {@link PerformanceMeter#start()} before and {@link PerformanceMeter#stop()} after that operation. The
* measurement can be repeated, for example, to let the VM warm up and to allow for statistical analysis afterwards.
- *
+ *
* After measurements are done and before an analysis of the results can be made {@link PerformanceMeter#commit()} has to be called.
* This allows for example to prepare the measurements for analysis or persist them.
* {@link Performance#assertPerformance(PerformanceMeter)} provides a default analysis of the measurements. After the
* <code>PerformanceMeter</code> is no longer used {@link PerformanceMeter#dispose()} must be called.
- *
+ *
* Example usage in a test case:
- *
+ *
* <pre>
- *
+ *
* public void testOpenEditor() {
* Performance perf = Performance.getDefault();
* PerformanceMeter performanceMeter = perf.createPerformanceMeter(perf.getDefaultScenarioId(this));
@@ -51,7 +51,7 @@
* }
* }
* </pre>
- *
+ *
* This class is not intended to be subclassed by clients.
*/
public abstract class PerformanceMeter {
diff --git a/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/PerformanceTestCase.java b/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/PerformanceTestCase.java
index 5ed9023..84afb26 100644
--- a/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/PerformanceTestCase.java
+++ b/bundles/org.eclipse.test.performance/src/org/eclipse/test/performance/PerformanceTestCase.java
@@ -20,10 +20,10 @@
* A PerformanceTestCase is a convenience class that takes care of managing a <code>PerformanceMeter</code>.
* <p>
* Here is an example:
- *
+ *
* <pre>
* public class MyPerformanceTestCase extends PeformanceTestCase {
- *
+ *
* public void testMyOperation() {
* for (int i= 0; i < 10; i++) {
* // preparation
@@ -50,7 +50,7 @@
/**
* Constructs a performance test case with the given name.
- *
+ *
* @param name
* the name of the performance test case
*/
@@ -60,7 +60,7 @@
/**
* Overridden to create a default performance meter for this test case.
- *
+ *
* @throws Exception
*/
@Override
@@ -71,7 +71,7 @@
/**
* Overridden to dispose of the performance meter.
- *
+ *
* @throws Exception
*/
@Override
@@ -82,7 +82,7 @@
/**
* Mark the scenario of this test case to be included into the global and the component performance summary. The summary shows
* the given dimension of the scenario and labels the scenario with the short name.
- *
+ *
* @param shortName
* a short (shorter than 40 characters) descritive name of the scenario
* @param dimension
@@ -96,7 +96,7 @@
/**
* Mark the scenario represented by the given PerformanceMeter to be included into the global and the component performance
* summary. The summary shows the given dimensions of the scenario and labels the scenario with the short name.
- *
+ *
* @param shortName
* a short (shorter than 40 characters) descritive name of the scenario
* @param dimensions
@@ -110,7 +110,7 @@
/**
* Mark the scenario of this test case to be included into the component performance summary. The summary shows the given
* dimension of the scenario and labels the scenario with the short name.
- *
+ *
* @param shortName
* a short (shorter than 40 characters) descritive name of the scenario
* @param dimension
@@ -124,7 +124,7 @@
/**
* Mark the scenario represented by the given PerformanceMeter to be included into the component performance summary. The
* summary shows the given dimensions of the scenario and labels the scenario with the short name.
- *
+ *
* @param shortName
* a short (shorter than 40 characters) descritive name of the scenario
* @param dimensions
@@ -139,7 +139,7 @@
* Set a comment for the scenario represented by this TestCase. Currently only comments with a commentKind of
* EXPLAINS_DEGRADATION_COMMENT are used. Their commentText is shown in a hover of the performance summaries graph if a
* performance degradation exists.
- *
+ *
* @param commentKind
* kind of comment. Must be EXPLAINS_DEGRADATION_COMMENT to have an effect.
* @param commentText
@@ -154,7 +154,7 @@
* Called from within a test case immediately before the code to measure is run. It starts capturing of performance data. Must
* be followed by a call to {@link PerformanceTestCase#stopMeasuring()} before subsequent calls to this method or
* {@link PerformanceTestCase#commitMeasurements()}.
- *
+ *
* @see PerformanceMeter#start()
*/
protected void startMeasuring() {
@@ -164,7 +164,7 @@
/**
* Called from within a test case immediately after the operation to measure. Must be preceded by a call to
* {@link PerformanceTestCase#startMeasuring()}, that follows any previous call to this method.
- *
+ *
* @see PerformanceMeter#stop()
*/
protected void stopMeasuring() {
@@ -174,7 +174,7 @@
/**
* Called exactly once after repeated measurements are done and before their analysis. Afterwards
* {@link PerformanceTestCase#startMeasuring()} and {@link PerformanceTestCase#stopMeasuring()} must not be called.
- *
+ *
* @see PerformanceMeter#commit()
*/
protected void commitMeasurements() {
@@ -183,7 +183,7 @@
/**
* Asserts default properties of the measurements captured for this test case.
- *
+ *
* @throws RuntimeException
* if the properties do not hold
*/
@@ -194,7 +194,7 @@
/**
* Asserts that the measurement specified by the given dimension is within a certain range with respect to some reference value.
* If the specified dimension isn't available, the call has no effect.
- *
+ *
* @param dim
* the Dimension to check
* @param lowerPercentage