Use ArrayList instead of LinkedList
authorFelix Schumacher <felix.schumacher@internetallee.de>
Mon, 18 Apr 2022 14:54:18 +0000 (16:54 +0200)
committerFelix Schumacher <felix.schumacher@internetallee.de>
Mon, 18 Apr 2022 15:38:47 +0000 (17:38 +0200)
commitcf4ae3281651eabf5d01a55dcd4822793afc74a4
treef01abdacd5aed24d8e73237bd040f73419bea300
parentd27bc1fb17ce7369a03ca0580c9763ae57112d86
Use ArrayList instead of LinkedList

it is considered to be faster in almost all cases.

While we are here
 * Suppress a warning about catching and printing an exception
 * Add override annotations to anonymous classes methods
 * convert to junit5 methods
 * shorten lines to less than 120 chars
 * introduce a private helper to make params (a real builder/DSL would
   be even better)
 * introduce a helper method to assert a range check
25 files changed:
src/core/src/test/java/org/apache/jmeter/engine/DistributedRunnerTest.java
src/core/src/test/java/org/apache/jmeter/gui/logging/TestGuiLogEventAppender.java
src/core/src/test/java/org/apache/jmeter/util/LogRecordingDelegatingLogger.java
src/dist-check/src/test/java/org/apache/jmeter/junit/JMeterTest.java
src/functions/src/test/java/org/apache/jmeter/functions/SplitFunctionTest.java
src/functions/src/test/java/org/apache/jmeter/functions/SumFunctionTest.java
src/functions/src/test/java/org/apache/jmeter/functions/TestChangeCase.java
src/functions/src/test/java/org/apache/jmeter/functions/TestDateTimeConvertFunction.java
src/functions/src/test/java/org/apache/jmeter/functions/TestDigestFunction.java
src/functions/src/test/java/org/apache/jmeter/functions/TestEscapeOroRegexpChars.java
src/functions/src/test/java/org/apache/jmeter/functions/TestFileToString.java
src/functions/src/test/java/org/apache/jmeter/functions/TestGroovyFunction.java
src/functions/src/test/java/org/apache/jmeter/functions/TestIsPropDefined.java
src/functions/src/test/java/org/apache/jmeter/functions/TestIsVarDefined.java
src/functions/src/test/java/org/apache/jmeter/functions/TestJavascriptFunction.java
src/functions/src/test/java/org/apache/jmeter/functions/TestJexl2Function.java
src/functions/src/test/java/org/apache/jmeter/functions/TestMachineIPName.java
src/functions/src/test/java/org/apache/jmeter/functions/TestRandomFromMultipleVars.java
src/functions/src/test/java/org/apache/jmeter/functions/TestRegexFunction.java
src/functions/src/test/java/org/apache/jmeter/functions/TestSamplerNameFunction.java
src/functions/src/test/java/org/apache/jmeter/functions/TestSetProperty.java
src/functions/src/test/java/org/apache/jmeter/functions/TestSimpleFunctions.java
src/functions/src/test/java/org/apache/jmeter/functions/TestTimeFunction.java
src/functions/src/test/java/org/apache/jmeter/functions/TestUrlEncodeDecode.java
src/protocol/http/src/test/java/org/apache/jmeter/protocol/http/util/TestHTTPFileArgs.java