Merge pull request #63 from arturobernalg/feature/JCS-221
JCS-221 - Fix typo
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 cfb296c..ac0026f 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
@@ -153,7 +153,7 @@
private void initPurgatory()
{
// we need this so we can stop the updates from happening after a
- // removeall
+ // remove all
removeAllLock.writeLock().lock();
try
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskCache.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskCache.java
index 0ae7483..1fff8a4 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskCache.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskCache.java
@@ -607,9 +607,9 @@
}
/**
- * Reset effectively clears the disk cache, creating new files, recyclebins, and keymaps.
+ * Reset effectively clears the disk cache, creating new files, recycle bins, and keymaps.
* <p>
- * It can be used to handle errors by last resort, force content update, or removeall.
+ * It can be used to handle errors by last resort, force content update, or remove all.
*/
private void reset()
{
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskElementDescriptor.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskElementDescriptor.java
index 71b1921..c74085e 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskElementDescriptor.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskElementDescriptor.java
@@ -29,7 +29,7 @@
/**
* This represents an element on disk. This is used when we persist the keys. We only store the
* block addresses in memory. We don't need the length here, since all the blocks are the same size
- * receyle bin.
+ * recycle bin.
* <p>
* @author Aaron Smuts
*/