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 ad7db1fa Javadoc fixes
ad7db1fa is described below

commit ad7db1fa68d77dbe10b99a0bcd72bdcad8ea2bd7
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jan 13 14:44:22 2023 -0500

    Javadoc fixes
---
 .../org/apache/commons/jcs3/auxiliary/disk/AbstractDiskCache.java   | 2 +-
 .../commons/jcs3/auxiliary/lateral/LateralElementDescriptor.java    | 6 +++---
 .../auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListener.java   | 2 +-
 .../commons/jcs3/auxiliary/remote/behavior/IRemoteCacheClient.java  | 2 +-
 .../commons/jcs3/auxiliary/remote/server/RemoteCacheServer.java     | 2 +-
 .../remote/server/TimeoutConfigurableRMISocketFactory.java          | 2 +-
 .../org/apache/commons/jcs3/utils/discovery/UDPDiscoverySender.java | 2 +-
 .../jcs3/engine/memory/shrinking/ShrinkerThreadUnitTest.java        | 2 +-
 .../commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java      | 2 +-
 9 files changed, 11 insertions(+), 11 deletions(-)

diff --git 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/AbstractDiskCache.java
 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/AbstractDiskCache.java
index ac0026fc..4ffbc529 100644
--- 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/AbstractDiskCache.java
+++ 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/AbstractDiskCache.java
@@ -202,7 +202,7 @@ public abstract class AbstractDiskCache<K, V>
             // Wrap the CacheElement in a PurgatoryElement
             final PurgatoryElement<K, V> pe = new PurgatoryElement<>( 
cacheElement );
 
-            // Indicates the the element is eligible to be spooled to disk,
+            // Indicates the element is eligible to be spooled to disk,
             // this will remain true unless the item is pulled back into
             // memory.
             pe.setSpoolable( true );
diff --git 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/LateralElementDescriptor.java
 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/LateralElementDescriptor.java
index 5fb58388..6e581d5d 100644
--- 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/LateralElementDescriptor.java
+++ 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/LateralElementDescriptor.java
@@ -38,7 +38,7 @@ public class LateralElementDescriptor<K, V>
     public ICacheElement<K, V> ce;
 
     /**
-     * The id of the the source of the request. This is used to prevent 
infinite
+     * The id of the source of the request. This is used to prevent infinite
      * loops.
      */
     public long requesterId;
@@ -85,7 +85,7 @@ public class LateralElementDescriptor<K, V>
      * <p>
      * @param ce ICacheElement&lt;K, V&gt; payload
      * @param command operation requested by the client
-     * @param requesterId id of the the source of the request
+     * @param requesterId id of the source of the request
      * @since 3.1
      */
     public LateralElementDescriptor( final ICacheElement<K, V> ce, 
LateralCommand command, long requesterId)
@@ -106,7 +106,7 @@ public class LateralElementDescriptor<K, V>
     }
 
     /**
-     * Return id of the the source of the request
+     * Return id of the source of the request
      *
      * @return the requesterId
      * @since 3.1
diff --git 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListener.java
 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListener.java
index 9a0851c9..daf34c16 100644
--- 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListener.java
+++ 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListener.java
@@ -260,7 +260,7 @@ public class LateralTCPDiscoveryListener
     /**
      * Creates the lateral cache if needed.
      * <p>
-     * We could go to the composite cache manager and get the the cache for 
the region. This would
+     * We could go to the composite cache manager and get the cache for the 
region. This would
      * force a full configuration of the region. One advantage of this would 
be that the creation of
      * the later would go through the factory, which would add the item to the 
no wait list. But we
      * don't want to do this. This would force this client to have all the 
regions as the other.
diff --git 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/behavior/IRemoteCacheClient.java
 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/behavior/IRemoteCacheClient.java
index e4effacd..df80a2b4 100644
--- 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/behavior/IRemoteCacheClient.java
+++ 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/behavior/IRemoteCacheClient.java
@@ -44,7 +44,7 @@ public interface IRemoteCacheClient<K, V>
      * Gets the listenerId attribute of the RemoteCacheListener object.
      * <p>
      * All requests to the remote cache must include a listener id. This 
allows the server to avoid
-     * sending updates the the listener associated with this client.
+     * sending updates the listener associated with this client.
      * <p>
      * @return The listenerId value
      */
diff --git 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServer.java
 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServer.java
index c5caa67b..6f96dbe9 100644
--- 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServer.java
+++ 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServer.java
@@ -1188,7 +1188,7 @@ public class RemoteCacheServer<K, V>
                         + listenerAddress + "]";
                     logApplicationEvent( "RemoteCacheServer", 
"addCacheListener", message );
                     log.info( message );
-                    // should confirm the the host is the same as we have on
+                    // should confirm the host is the same as we have on
                     // record, just in case a client has made a mistake.
                 }
 
diff --git 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/server/TimeoutConfigurableRMISocketFactory.java
 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/server/TimeoutConfigurableRMISocketFactory.java
index 277396de..e506bc67 100644
--- 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/server/TimeoutConfigurableRMISocketFactory.java
+++ 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/server/TimeoutConfigurableRMISocketFactory.java
@@ -27,7 +27,7 @@ import java.net.Socket;
 import java.rmi.server.RMISocketFactory;
 
 /**
- * This can be injected into the the remote cache server as follows:
+ * This can be injected into the remote cache server as follows:
  *
  * <pre>
  * 
jcs.remotecache.customrmisocketfactory=org.apache.commons.jcs3.auxiliary.remote.server.TimeoutConfigurableRMISocketFactory
diff --git 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoverySender.java
 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoverySender.java
index e351034f..90f42dfc 100644
--- 
a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoverySender.java
+++ 
b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/utils/discovery/UDPDiscoverySender.java
@@ -203,7 +203,7 @@ public class UDPDiscoverySender implements AutoCloseable
     }
 
     /**
-     * Ask other to broadcast their info the the multicast address. If a 
lateral is non receiving it
+     * Ask other to broadcast their info the multicast address. If a lateral 
is non receiving it
      * can use this. This is also called on startup so we can get info.
      * <p>
      * @throws IOException
diff --git 
a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/engine/memory/shrinking/ShrinkerThreadUnitTest.java
 
b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/engine/memory/shrinking/ShrinkerThreadUnitTest.java
index be8cfebd..6141d9d2 100644
--- 
a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/engine/memory/shrinking/ShrinkerThreadUnitTest.java
+++ 
b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/engine/memory/shrinking/ShrinkerThreadUnitTest.java
@@ -326,7 +326,7 @@ public class ShrinkerThreadUnitTest
         // VERIFY
         Thread.sleep( 500 );
         assertEquals( "Waterfall called the wrong number of times.", 3, 
memory.waterfallCallCount );
-        // the shrinker delegates the the composite cache on the memory cache 
to put the
+        // the shrinker delegates the composite cache on the memory cache to 
put the
         // event on the queue.  This make it hard to test.  TODO we need to 
change this to make it easier to verify.
         //assertEquals( "Event handler ExceededIdleTimeBackground called the 
wrong number of times.", 3, handler.getExceededIdleTimeBackgroundCount() );
         assertEquals( "Wrong number of elements remain.", 7, memory.getSize() 
);
diff --git 
a/commons-jcs-sandbox/filecache/src/test/java/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
 
b/commons-jcs-sandbox/filecache/src/test/java/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
index d453a38b..7f7b9852 100644
--- 
a/commons-jcs-sandbox/filecache/src/test/java/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
+++ 
b/commons-jcs-sandbox/filecache/src/test/java/org/apache/commons/jcs/auxiliary/disk/file/FileDiskCacheUnitTest.java
@@ -358,7 +358,7 @@ public class FileDiskCacheUnitTest
     }
 
     /**
-     * Verify RemoveIfLimitIsSetAndReached. Since touch on get is false, the 
the oldest
+     * Verify RemoveIfLimitIsSetAndReached. Since touch on get is false, the 
oldest
      * should be removed.
      * <p>
      * @throws Exception

Reply via email to