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-jcs.git

commit b5737c73002783e3d400fb1155f422e04e9f0a39
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Jul 9 19:27:21 2024 -0400

    Remove redundant keywords
---
 .../jcs3/engine/memory/AbstractDoubleLinkedListMemoryCache.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/memory/AbstractDoubleLinkedListMemoryCache.java
 
b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/memory/AbstractDoubleLinkedListMemoryCache.java
index 5090011d..dbe9cc9f 100644
--- 
a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/memory/AbstractDoubleLinkedListMemoryCache.java
+++ 
b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/memory/AbstractDoubleLinkedListMemoryCache.java
@@ -283,7 +283,7 @@ public abstract class 
AbstractDoubleLinkedListMemoryCache<K, V> extends Abstract
         final int size = map.size();
         // If the element limit is reached, we need to spool
 
-        if (size <= this.getCacheAttributes().getMaxObjects())
+        if (size <= getCacheAttributes().getMaxObjects())
         {
             return;
         }
@@ -295,7 +295,7 @@ public abstract class 
AbstractDoubleLinkedListMemoryCache<K, V> extends Abstract
 
         log.debug("About to spool to disk cache, map size: {0}, max objects: 
{1}, "
                 + "maximum items to spool: {2}", () -> size,
-                this.getCacheAttributes()::getMaxObjects,
+                getCacheAttributes()::getMaxObjects,
                 () -> chunkSizeCorrected);
 
         // The spool will put them in a disk event queue, so there is no

Reply via email to