You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/07/10 01:23:05 UTC
(commons-jcs) 03/31: Use final
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 e32cf632762d9a6204349d21d74b105bca3ca259
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 9 19:23:20 2024 -0400
Use final
---
.../org/apache/commons/jcs3/engine/AbstractCacheEventQueue.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/AbstractCacheEventQueue.java b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/AbstractCacheEventQueue.java
index a382ae52..120ca436 100644
--- a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/AbstractCacheEventQueue.java
+++ b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/AbstractCacheEventQueue.java
@@ -120,14 +120,14 @@ public abstract class AbstractCacheEventQueue<K, V>
// /////////////////////////// Inner classes /////////////////////////////
protected interface IOExConsumer<T>
{
- static <T> Consumer<T> unchecked(IOExConsumer<T> consumer)
+ static <T> Consumer<T> unchecked(final IOExConsumer<T> consumer)
{
return t -> {
try
{
consumer.accept(t);
}
- catch (IOException e)
+ catch (final IOException e)
{
throw new RuntimeException(e);
}
@@ -372,7 +372,7 @@ public abstract class AbstractCacheEventQueue<K, V>
* <p>
* @throws IOException
*/
- private void remove(K key) throws IOException
+ private void remove(final K key) throws IOException
{
listener.handleRemove( cacheName, key );
}