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 2025/02/09 20:05:28 UTC

(commons-jcs) branch master updated: (modifier) ModifierOrder: 'static' modifier out of order with the JLS suggestions

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


The following commit(s) were added to refs/heads/master by this push:
     new 2d7b8efb (modifier) ModifierOrder: 'static' modifier out of order with the JLS suggestions
2d7b8efb is described below

commit 2d7b8efb54292fb848edda6becc9ed42e2838e7d
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 9 15:05:22 2025 -0500

    (modifier) ModifierOrder: 'static' modifier out of order with the JLS
    suggestions
---
 .../java/org/apache/commons/jcs3/engine/ZombieCacheServiceNonLocal.java | 2 +-
 .../org/apache/commons/jcs3/jcache/extras/writer/AsyncCacheWriter.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/ZombieCacheServiceNonLocal.java b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/ZombieCacheServiceNonLocal.java
index 4aba4f58..d5689c16 100644
--- a/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/ZombieCacheServiceNonLocal.java
+++ b/commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/ZombieCacheServiceNonLocal.java
@@ -109,7 +109,7 @@ public class ZombieCacheServiceNonLocal<K, V>
     /**
      * Base of the other events.
      */
-    protected static abstract class ZombieEvent
+    protected abstract static class ZombieEvent
     {
         /** The name of the region. */
         String cacheName;
diff --git a/commons-jcs3-jcache-extras/src/main/java/org/apache/commons/jcs3/jcache/extras/writer/AsyncCacheWriter.java b/commons-jcs3-jcache-extras/src/main/java/org/apache/commons/jcs3/jcache/extras/writer/AsyncCacheWriter.java
index c1785de7..ac4a0110 100644
--- a/commons-jcs3-jcache-extras/src/main/java/org/apache/commons/jcs3/jcache/extras/writer/AsyncCacheWriter.java
+++ b/commons-jcs3-jcache-extras/src/main/java/org/apache/commons/jcs3/jcache/extras/writer/AsyncCacheWriter.java
@@ -57,7 +57,7 @@ public class AsyncCacheWriter<K, V> implements CacheWriter<K, V>, Closeable, Fac
         }
     }
 
-    private static abstract class ExceptionProtectionRunnable implements Runnable
+    private abstract static class ExceptionProtectionRunnable implements Runnable
     {
         protected abstract void doRun();