From f16a0c5f2bbe3afb840ba8310692e8424b804b7d Mon Sep 17 00:00:00 2001 From: Ben Manes Date: Sat, 2 Apr 2016 19:50:48 -0700 Subject: [PATCH] Fix minor PMD warnings (unnecessary finals) --- .../github/benmanes/caffeine/cache/BoundedLocalCache.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java b/caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java index b823ca6bf9..cab0b2d42a 100644 --- a/caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java +++ b/caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java @@ -2654,20 +2654,20 @@ public int characteristics() { } } - /** A reusable task that performs the maintenance work used to avoid wrapping by ForkJoinPool. */ + /** A reusable task that performs the maintenance work; used to avoid wrapping by ForkJoinPool. */ final class PerformCleanupTask extends ForkJoinTask implements Runnable { private static final long serialVersionUID = 1L; @Override - public final Void getRawResult() { + public Void getRawResult() { return null; } @Override - public final void setRawResult(Void v) {} + public void setRawResult(Void v) {} @Override - public final boolean exec() { + public boolean exec() { performCleanUp(); return true; }