jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asm...@apache.org
Subject svn commit: r519783 - in /jakarta/jcs/trunk/src/java/org/apache/jcs: auxiliary/ auxiliary/lateral/socket/tcp/ auxiliary/lateral/socket/tcp/discovery/ engine/ engine/memory/ engine/memory/lru/ engine/memory/mru/ engine/memory/shrinking/
Date Mon, 19 Mar 2007 01:24:32 GMT
Author: asmuts
Date: Sun Mar 18 18:24:31 2007
New Revision: 519783

URL: http://svn.apache.org/viewvc?view=rev&rev=519783
Log:
FIXED JCS-18

Applied javadoc spelling patch supplied by Michael Stevens.

Modified:
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheAttributes.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheManager.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheFactory.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheManager.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoveryMessage.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoverySenderThread.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/engine/CacheWatchRepairable.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/AbstractMemoryCache.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/MemoryCache.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/lru/LRUMemoryCache.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/mru/MRUMemoryCache.java
    jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheAttributes.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheAttributes.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheAttributes.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheAttributes.java Sun
Mar 18 18:24:31 2007
@@ -19,7 +19,7 @@
 import java.io.Serializable;
 
 /**
- * This is a nominal interface that auxilliary cache attributes should
+ * This is a nominal interface that auxiliary cache attributes should
  * implement. This allows the auxiliary mangers to share a common interface.
  *  
  */

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheManager.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheManager.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheManager.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/AuxiliaryCacheManager.java Sun Mar
18 18:24:31 2007
@@ -29,7 +29,7 @@
 {
 
     /**
-     * Return the approriate auxiliary cache for this region.
+     * Return the appropriate auxiliary cache for this region.
      * 
      * @param cacheName
      * @return AuxiliaryCache
@@ -38,7 +38,7 @@
 
     /**
      * This allows the cache manager to be plugged into the auxiliary caches,
-     * rather then ahving them get it themselves. Cache maangers can be mocked
+     * rather then having them get it themselves. Cache maangers can be mocked
      * out and the auxiliaries will be easier to test.
      * 
      * @param cacheName

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheFactory.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheFactory.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheFactory.java
(original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheFactory.java
Sun Mar 18 18:24:31 2007
@@ -39,7 +39,7 @@
  * can have multiple caches. The remote relationships are consolidated and
  * restored via these managers.
  * <p>
- * The facade provides a front to the composite cache so the implmentation is
+ * The facade provides a front to the composite cache so the implementation is
  * transparent.
  * 
  */

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheManager.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheManager.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheManager.java
(original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/LateralTCPCacheManager.java
Sun Mar 18 18:24:31 2007
@@ -40,7 +40,7 @@
 /**
  * Creates lateral caches. Lateral caches are primarily used for removing non
  * laterally configured caches. Non laterally configured cache regions should
- * still bea ble to participate in removal. But if there is a non laterally
+ * still be able to participate in removal. But if there is a non laterally
  * configured cache hub, then lateral removals may be necessary. For flat
  * webserver production environments, without a strong machine at the app server
  * level, distribution and search may need to occur at the lateral cache level.
@@ -48,7 +48,7 @@
  * <p>
  * 
  * @TODO: - need freeCache, release, getStats - need to find an interface
- *        acceptible for all - cache managers or a manager within a type
+ *        acceptable for all - cache managers or a manager within a type
  */
 public class LateralTCPCacheManager
     extends LateralCacheAbstractManager
@@ -114,7 +114,7 @@
     }
 
     /**
-     * The monitor needs reference to one instance, acutally just a type.
+     * The monitor needs reference to one instance, actually just a type.
      * <p>
      * TODO refactor this.
      * <p>

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoveryMessage.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoveryMessage.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoveryMessage.java
(original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoveryMessage.java
Sun Mar 18 18:24:31 2007
@@ -22,7 +22,7 @@
     public static final int PASSIVE_BROADCAST = 0;
 
     /**
-     * This is asks recipients to broadcast their location. This is used on
+     * This asks recipients to broadcast their location. This is used on
      * startup.
      */
     public static final int REQUEST_BROADCAST = 1;

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoverySenderThread.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoverySenderThread.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoverySenderThread.java
(original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/lateral/socket/tcp/discovery/UDPDiscoverySenderThread.java
Sun Mar 18 18:24:31 2007
@@ -51,7 +51,7 @@
     }
 
     /**
-     * Constructs the sender with the port to tell others to conenct to.
+     * Constructs the sender with the port to tell others to connect to.
      * <p>
      * On construction the sender will request that the other caches let it know
      * their addresses.

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/engine/CacheWatchRepairable.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/engine/CacheWatchRepairable.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/engine/CacheWatchRepairable.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/engine/CacheWatchRepairable.java Sun Mar 18
18:24:31 2007
@@ -31,7 +31,7 @@
 import org.apache.commons.logging.LogFactory;
 
 /**
- * Interceps the requests to the underlying ICacheObserver object so that the
+ * Intercepts the requests to the underlying ICacheObserver object so that the
  * listeners can be recorded locally for remote connection recovery purposes.
  * (Durable subscription like those in JMS is not implemented at this stage for
  * it can be too expensive on the runtime.)

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/AbstractMemoryCache.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/AbstractMemoryCache.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/AbstractMemoryCache.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/AbstractMemoryCache.java Sun Mar
18 18:24:31 2007
@@ -141,7 +141,7 @@
         throws IOException;
 
     /**
-     * Get an item from the cache without effecting its order or last access
+     * Get an item from the cache without affecting its order or last access
      * time
      * @param key
      *            Description of the Parameter
@@ -270,7 +270,7 @@
     }
 
     /**
-     * Gets the cache hub / region taht the MemoryCache is used by
+     * Gets the cache hub / region that the MemoryCache is used by
      * @return The cache value
      */
     public CompositeCache getCompositeCache()

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/MemoryCache.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/MemoryCache.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/MemoryCache.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/MemoryCache.java Sun Mar 18 18:24:31
2007
@@ -13,9 +13,9 @@
 
 /**
  * For the framework. Insures methods a MemoryCache needs to access. Not sure why we use
this.
- * Should use the IMemeoryCache interface. I'll change it later.
+ * Should use the IMemoryCache interface. I'll change it later.
  * <p>
- * This extends IMemoryCache. There was an aborted attemopt to change the interface naming
+ * This extends IMemoryCache. There was an aborted attempt to change the interface naming
  * convention to not use the "I" prefix. At this point, there are too many "I" interfaces
to get rid
  * of.
  * <p>

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/lru/LRUMemoryCache.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/lru/LRUMemoryCache.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/lru/LRUMemoryCache.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/lru/LRUMemoryCache.java Sun Mar
18 18:24:31 2007
@@ -92,7 +92,7 @@
     {
         putCnt++;
 
-        // Asynchronisly create a MemoryElement
+        // Asynchronously create a MemoryElement
 
         ce.getElementAttributes().setLastAccessTimeNow();
         MemoryElementDescriptor old = null;
@@ -234,7 +234,7 @@
      * <p>
      * @param key
      *            Identifies item to find
-     * @return Element mathinh key if found, or null
+     * @return Element matching key if found, or null
      * @exception IOException
      */
     public ICacheElement getQuiet( Serializable key )
@@ -503,7 +503,7 @@
         }
     }
 
-    // --------------------------- internal mehods (linked list implementation)
+    // --------------------------- internal methods (linked list implementation)
     /**
      * Adds a new node to the end of the link list. Currently not used.
      * <p>
@@ -659,7 +659,7 @@
     }
 
     /**
-     * Logs an error is an element that should be in the cache is not.
+     * Logs an error if an element that should be in the cache is not.
      * <p>
      * @param key
      */

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/mru/MRUMemoryCache.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/mru/MRUMemoryCache.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/mru/MRUMemoryCache.java (original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/mru/MRUMemoryCache.java Sun Mar
18 18:24:31 2007
@@ -37,7 +37,7 @@
  * front of the list and get spooled to disk if the cache hub is configured to
  * use a disk cache.
  * <p>
- * This class is mainly for testing the hub. It also shows that use the
+ * This class is mainly for testing the hub. It also shows that use of the
  * Collection LinkedList is far slower than JCS' own double linked list.
  */
 public class MRUMemoryCache
@@ -213,7 +213,7 @@
     /**
      * Get an item from the cache without affecting its last access time or
      * position.
-     * @return Element mathinh key if found, or null
+     * @return Element matching key if found, or null
      * @param key
      *            Identifies item to find
      * @exception IOException

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java
URL: http://svn.apache.org/viewvc/jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java?view=diff&rev=519783&r1=519782&r2=519783
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java
(original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java
Sun Mar 18 18:24:31 2007
@@ -329,7 +329,7 @@
 
                 // extra safety
                 // TODO we shouldn't be operating on a variable of another class.
-                // we did this to get away from the singelton composite cache.
+                // we did this to get away from the singleton composite cache.
                 // we will need to create an event manager and pass it around instead.
                 if ( cache.getCompositeCache() != null )
                 {



---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


Mime
View raw message