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 2023/01/15 13:28:28 UTC

[commons-jcs] branch master updated: Fix typos

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 7026a34b Fix typos
7026a34b is described below

commit 7026a34bd0de93095a15b3b0ac6a67c1518e68a2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 15 08:28:24 2023 -0500

    Fix typos
---
 .../org/apache/commons/jcs3/auxiliary/AuxiliaryCacheAttributes.java     | 2 +-
 .../apache/commons/jcs3/auxiliary/remote/server/RemoteCacheServer.java  | 2 +-
 .../java/org/apache/commons/jcs3/engine/CompositeCacheAttributes.java   | 2 +-
 .../apache/commons/jcs3/engine/behavior/ICompositeCacheAttributes.java  | 2 +-
 .../java/org/apache/commons/jcs3/engine/control/CompositeCache.java     | 2 +-
 .../auxiliary/disk/indexed/IndexedDiskCacheDefragPerformanceTest.java   | 2 +-
 .../apache/commons/jcs3/auxiliary/disk/indexed/LRUMapSizeVsCount.java   | 2 +-
 .../org/apache/commons/jcs3/utils/struct/LRUMapPerformanceTest.java     | 2 +-
 xdocs/JCSvsEHCache.xml                                                  | 2 +-
 xdocs/LateralJavaGroupsAuxCache.xml                                     | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/AuxiliaryCacheAttributes.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/AuxiliaryCacheAttributes.java
index 314831aa..d6640f12 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/AuxiliaryCacheAttributes.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/AuxiliaryCacheAttributes.java
@@ -45,7 +45,7 @@ public interface AuxiliaryCacheAttributes
     String getCacheName();
 
     /**
-     * Name known by by configurator
+     * Name known by configurator
      * <p>
      * @param s The new name 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 6f96dbe9..bd79da84 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
@@ -236,7 +236,7 @@ public class RemoteCacheServer<K, V>
 
     /**
      * An update can come from either a local cache's remote auxiliary, or it can come from a remote
-     * server. A remote server is considered a a source of type cluster.
+     * server. A remote server is considered a source of type cluster.
      * <p>
      * If the update came from a cluster, then we should tell the cache manager that this was a
      * remote put. This way, any lateral and remote auxiliaries configured for the region will not
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/CompositeCacheAttributes.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/CompositeCacheAttributes.java
index f304a86a..6c14388b 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/CompositeCacheAttributes.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/CompositeCacheAttributes.java
@@ -371,7 +371,7 @@ public class CompositeCacheAttributes
     }
 
     /**
-     * Number to send to disk at at time when memory is full.
+     * Number to send to disk at the time when memory is full.
      * <p>
      * @return int
      */
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/behavior/ICompositeCacheAttributes.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/behavior/ICompositeCacheAttributes.java
index 57451fa3..1af487c1 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/behavior/ICompositeCacheAttributes.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/behavior/ICompositeCacheAttributes.java
@@ -224,7 +224,7 @@ public interface ICompositeCacheAttributes
     DiskUsagePattern getDiskUsagePattern();
 
     /**
-     * Number to send to disk at at time when memory is full.
+     * Number to send to disk at time when memory is full.
      * <p>
      * @return int
      */
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/control/CompositeCache.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/control/CompositeCache.java
index cfb0563a..b99ca36f 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/control/CompositeCache.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/engine/control/CompositeCache.java
@@ -403,7 +403,7 @@ public class CompositeCache<K, V>
      * Writes the specified element to any disk auxiliaries. Might want to rename this "overflow" in
      * case the hub wants to do something else.
      * <p>
-     * If JCS is not configured to use the disk as a swap, that is if the the
+     * If JCS is not configured to use the disk as a swap, that is if the
      * CompositeCacheAttribute diskUsagePattern is not SWAP_ONLY, then the item will not be spooled.
      * <p>
      * @param ce The CacheElement
diff --git a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCacheDefragPerformanceTest.java b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCacheDefragPerformanceTest.java
index ead24bfd..a8f6c8f7 100644
--- a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCacheDefragPerformanceTest.java
+++ b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCacheDefragPerformanceTest.java
@@ -107,7 +107,7 @@ public class IndexedDiskCacheDefragPerformanceTest
         System.out.println( "Stats prior to sleeping " + jcs.getStats() );
 
         // Allow system to settle down
-        System.out.println( "Sleeping for a a minute." );
+        System.out.println( "Sleeping for a minute." );
         Thread.sleep( 60000 );
 
         System.out.println( LOG_DIVIDER );
diff --git a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/indexed/LRUMapSizeVsCount.java b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/indexed/LRUMapSizeVsCount.java
index 377c9e87..93b2b1a7 100644
--- a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/indexed/LRUMapSizeVsCount.java
+++ b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/indexed/LRUMapSizeVsCount.java
@@ -30,7 +30,7 @@ import junit.framework.TestCase;
 public class LRUMapSizeVsCount
     extends TestCase
 {
-    /** The put put ration after the test */
+    /** The put ration after the test */
     double ratioPut;
 
     /** The ratio after the test */
diff --git a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/utils/struct/LRUMapPerformanceTest.java b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/utils/struct/LRUMapPerformanceTest.java
index 6154b508..73bfd2b4 100644
--- a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/utils/struct/LRUMapPerformanceTest.java
+++ b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/utils/struct/LRUMapPerformanceTest.java
@@ -30,7 +30,7 @@ import junit.framework.TestCase;
 public class LRUMapPerformanceTest
     extends TestCase
 {
-    /** The put put ration after the test */
+    /** The put ration after the test */
     float ratioPut;
 
     /** The ratio after the test */
diff --git a/xdocs/JCSvsEHCache.xml b/xdocs/JCSvsEHCache.xml
index a6045775..57685771 100644
--- a/xdocs/JCSvsEHCache.xml
+++ b/xdocs/JCSvsEHCache.xml
@@ -487,7 +487,7 @@ public class JCSvsEHCachePerformanceTest
 			</p>
 			<p>
 				You can saturate the EH version much more quickly, since
-				it will hold as many items as you can put in in 200 ms.
+				it will hold as many items as you can put in 200 ms.
 			</p>
 			<p>
 				I tried with 100k and JCS could handle it, but EH died
diff --git a/xdocs/LateralJavaGroupsAuxCache.xml b/xdocs/LateralJavaGroupsAuxCache.xml
index db259a83..2175e3e3 100644
--- a/xdocs/LateralJavaGroupsAuxCache.xml
+++ b/xdocs/LateralJavaGroupsAuxCache.xml
@@ -33,7 +33,7 @@
         for distribution.
       </p>
       <p>
-		The Lateral Lateral JGroups Auxiliary Cache is far slower than
+		The Lateral JGroups Auxiliary Cache is far slower than
 		that Lateral TCP Auxiliary Cache.  Since the Lateral TCP Auxiliary
 		is faster and has UDP discovery built in, the TCP auxiliary is the recommended form of lateral
 		distribution.  However, the JGroups Auxiliary requires fewer socket connections than