This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 41c63b284 Simplify
41c63b284 is described below
commit 41c63b284a36ee50ac76657abd63d6a439533456
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Feb 9 18:18:49 2024 -0500
Simplify
---
src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
b/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
index 378d7f0bd..f4d6dbd0f 100644
--- a/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
@@ -56,7 +56,7 @@ public class FastDateFormatTest extends AbstractLangTest {
private AtomicLongArray measureTime(final Format printer, final Format
parser) throws InterruptedException {
final ExecutorService pool = Executors.newFixedThreadPool(NTHREADS);
- final AtomicInteger failures = new AtomicInteger(0);
+ final AtomicInteger failures = new AtomicInteger();
final AtomicLongArray totalElapsed = new AtomicLongArray(2);
try {
for (int i = 0; i < NTHREADS; ++i) {