From 018c7c24410d6cbf302f7f15730d3f0f41deb68c Mon Sep 17 00:00:00 2001 From: remm Date: Fri, 29 Sep 2023 10:47:25 +0200 Subject: [PATCH] Fix checkstyle --- .../java/org/apache/commons/pool3/impl/EvictionTimer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java b/src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java index 67f568a8c..fca537257 100644 --- a/src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java +++ b/src/main/java/org/apache/commons/pool3/impl/EvictionTimer.java @@ -75,9 +75,11 @@ private static class Reaper implements Runnable { @Override public void run() { synchronized (EvictionTimer.class) { - Iterator.Evictor>, WeakRunner.Evictor>>> taskMapIterator = TASK_MAP.entrySet().iterator(); + Iterator.Evictor>, WeakRunner.Evictor>>> taskMapIterator = + TASK_MAP.entrySet().iterator(); while (taskMapIterator.hasNext()) { - final Entry.Evictor>, WeakRunner.Evictor>> entry = taskMapIterator.next(); + final Entry.Evictor>, WeakRunner.Evictor>> entry = + taskMapIterator.next(); if (entry.getKey().get() == null) { executor.remove(entry.getValue()); taskMapIterator.remove();