This is an automated email from the ASF dual-hosted git repository.

tv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git

commit a0f50443a522db3ce27b3ca334fc515077e880ad
Author: Thomas Vandahl <[email protected]>
AuthorDate: Mon Feb 9 19:00:55 2026 +0100

    Cleanup
---
 .../remote/CommonRemoteCacheAttributes.java         | 21 ++++++++-------------
 .../jcs4/engine/control/CompositeCacheManager.java  |  3 +--
 2 files changed, 9 insertions(+), 15 deletions(-)

diff --git 
a/commons-jcs4-core/src/main/java/org/apache/commons/jcs4/auxiliary/remote/CommonRemoteCacheAttributes.java
 
b/commons-jcs4-core/src/main/java/org/apache/commons/jcs4/auxiliary/remote/CommonRemoteCacheAttributes.java
index 4d8b909f..9668a9e0 100644
--- 
a/commons-jcs4-core/src/main/java/org/apache/commons/jcs4/auxiliary/remote/CommonRemoteCacheAttributes.java
+++ 
b/commons-jcs4-core/src/main/java/org/apache/commons/jcs4/auxiliary/remote/CommonRemoteCacheAttributes.java
@@ -29,7 +29,7 @@ import 
org.apache.commons.jcs4.auxiliary.remote.server.behavior.RemoteType;
 /**
  * Attributes common to remote cache client and server.
  */
-public class CommonRemoteCacheAttributes
+public abstract class CommonRemoteCacheAttributes
     extends AbstractAuxiliaryCacheAttributes
     implements ICommonRemoteCacheAttributes
 {
@@ -60,11 +60,6 @@ public class CommonRemoteCacheAttributes
     /** Read and connect timeout */
     private int rmiSocketFactoryTimeoutMillis = 
DEFAULT_RMI_SOCKET_FACTORY_TIMEOUT_MILLIS;
 
-    /** Default constructor for the RemoteCacheAttributes object */
-    public CommonRemoteCacheAttributes()
-    {
-    }
-
     /**
      * Gets the clusterServers attribute of the RemoteCacheAttributes object.
      *
@@ -267,16 +262,16 @@ public class CommonRemoteCacheAttributes
     public String toString()
     {
         final StringBuilder buf = new StringBuilder();
-        buf.append( "\n RemoteCacheAttributes " );
+        buf.append( "\n RemoteCacheAttributes ");
         if (this.location != null)
         {
-            buf.append( "\n remoteHost = [" + this.location.getHost() + "]" );
-            buf.append( "\n remotePort = [" + this.location.getPort() + "]" );
+            buf.append( "\n remoteHost = 
[").append(this.location.getHost()).append("]");
+            buf.append( "\n remotePort = 
[").append(this.location.getPort()).append("]");
         }
-        buf.append( "\n cacheName = [" + getCacheName() + "]" );
-        buf.append( "\n remoteType = [" + remoteType + "]" );
-        buf.append( "\n removeUponRemotePut = [" + this.removeUponRemotePut + 
"]" );
-        buf.append( "\n getOnly = [" + getOnly + "]" );
+        buf.append( "\n cacheName = [").append(getCacheName()).append("]");
+        buf.append( "\n remoteType = [").append(remoteType).append("]");
+        buf.append( "\n removeUponRemotePut = 
[").append(this.removeUponRemotePut).append("]");
+        buf.append( "\n getOnly = [").append(getOnly).append("]");
         return buf.toString();
     }
 }
diff --git 
a/commons-jcs4-core/src/main/java/org/apache/commons/jcs4/engine/control/CompositeCacheManager.java
 
b/commons-jcs4-core/src/main/java/org/apache/commons/jcs4/engine/control/CompositeCacheManager.java
index 2749e124..12840ce2 100644
--- 
a/commons-jcs4-core/src/main/java/org/apache/commons/jcs4/engine/control/CompositeCacheManager.java
+++ 
b/commons-jcs4-core/src/main/java/org/apache/commons/jcs4/engine/control/CompositeCacheManager.java
@@ -43,7 +43,6 @@ import org.apache.commons.jcs4.admin.JCSAdminBean;
 import org.apache.commons.jcs4.auxiliary.AuxiliaryCache;
 import org.apache.commons.jcs4.auxiliary.AuxiliaryCacheAttributes;
 import org.apache.commons.jcs4.auxiliary.AuxiliaryCacheFactory;
-import org.apache.commons.jcs4.auxiliary.remote.behavior.IRemoteCacheConstants;
 import org.apache.commons.jcs4.engine.CompositeCacheAttributes;
 import org.apache.commons.jcs4.engine.ElementAttributes;
 import org.apache.commons.jcs4.engine.behavior.ICache;
@@ -73,7 +72,7 @@ import org.apache.commons.jcs4.utils.timing.ElapsedTimer;
  * </p>
  */
 public class CompositeCacheManager
-    implements IRemoteCacheConstants, ICompositeCacheManager, IProvideScheduler
+    implements ICompositeCacheManager, IProvideScheduler
 {
     /** The logger */
     private static final Log log = Log.getLog( CompositeCacheManager.class );

Reply via email to