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
The following commit(s) were added to refs/heads/master by this push:
new 8ef51ba JCS-221 - Fix typo
new 122211e Merge pull request #63 from arturobernalg/feature/JCS-221
8ef51ba is described below
commit 8ef51baa7ee21f4a902955ab2872be7a8ba27712
Author: Arturo Bernal <[email protected]>
AuthorDate: Thu Apr 15 19:31:25 2021 +0200
JCS-221 - Fix typo
---
.../org/apache/commons/jcs3/auxiliary/disk/AbstractDiskCache.java | 2 +-
.../org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskCache.java | 4 ++--
.../commons/jcs3/auxiliary/disk/block/BlockDiskElementDescriptor.java | 2 +-
3 files changed, 4 insertions(+), 4 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 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 @@ public abstract class AbstractDiskCache<K, V>
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 @@ public class BlockDiskCache<K, V>
}
/**
- * 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 @@ import java.util.Arrays;
/**
* 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
*/