Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
rmaucher committed Sep 29, 2023
1 parent 9b2ecc7 commit 018c7c2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ private static class Reaper implements Runnable {
@Override
public void run() {
synchronized (EvictionTimer.class) {
Iterator<Entry<WeakReference<BaseGenericObjectPool<?, ?>.Evictor>, WeakRunner<BaseGenericObjectPool<?, ?>.Evictor>>> taskMapIterator = TASK_MAP.entrySet().iterator();
Iterator<Entry<WeakReference<BaseGenericObjectPool<?, ?>.Evictor>, WeakRunner<BaseGenericObjectPool<?, ?>.Evictor>>> taskMapIterator =
TASK_MAP.entrySet().iterator();
while (taskMapIterator.hasNext()) {
final Entry<WeakReference<BaseGenericObjectPool<?, ?>.Evictor>, WeakRunner<BaseGenericObjectPool<?, ?>.Evictor>> entry = taskMapIterator.next();
final Entry<WeakReference<BaseGenericObjectPool<?, ?>.Evictor>, WeakRunner<BaseGenericObjectPool<?, ?>.Evictor>> entry =
taskMapIterator.next();
if (entry.getKey().get() == null) {
executor.remove(entry.getValue());
taskMapIterator.remove();
Expand Down

0 comments on commit 018c7c2

Please sign in to comment.