From 430e145d40c0f5fb69622077c9b5cf99c70e9b50 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Sat, 08 Dec 2007 19:22:36 +0000
Subject: [PATCH] - fix some comments typos and inaccuracies.
---
opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java | 6 +++---
opendj-sdk/opends/src/server/org/opends/server/extensions/DefaultEntryCache.java | 2 +-
opendj-sdk/opends/src/server/org/opends/server/extensions/FileSystemEntryCache.java | 18 +++++++++---------
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java b/opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java
index f73623d..3c2fc53 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/EntryCache.java
@@ -582,7 +582,7 @@
/**
- * Retrieves the curent number of entries stored within the cache.
+ * Retrieves the current number of entries stored within the cache.
*
* @return The current number of entries stored within the cache.
*/
@@ -591,7 +591,7 @@
/**
- * Retrieves the curent number of cache hits for this cache.
+ * Retrieves the current number of cache hits for this cache.
*
* @return The current number of cache hits for this cache.
*/
@@ -603,7 +603,7 @@
/**
- * Retrieves the curent number of cache misses for this cache.
+ * Retrieves the current number of cache misses for this cache.
*
* @return The current number of cache misses for this cache.
*/
diff --git a/opendj-sdk/opends/src/server/org/opends/server/extensions/DefaultEntryCache.java b/opendj-sdk/opends/src/server/org/opends/server/extensions/DefaultEntryCache.java
index c5b86cf..d899f3e 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/extensions/DefaultEntryCache.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/extensions/DefaultEntryCache.java
@@ -56,7 +56,7 @@
/**
* This class defines the default entry cache which acts as an arbiter for
- * every entry cache implemenation configured and installed withhin the
+ * every entry cache implementation configured and installed within the
* Directory Server or acts an an empty cache if no implementation specific
* entry cache is configured. It does not actually store any entries, so
* all calls to the entry cache public API are routed to underlying entry
diff --git a/opendj-sdk/opends/src/server/org/opends/server/extensions/FileSystemEntryCache.java b/opendj-sdk/opends/src/server/org/opends/server/extensions/FileSystemEntryCache.java
index 4928f94..9a650ba 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/extensions/FileSystemEntryCache.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/extensions/FileSystemEntryCache.java
@@ -96,15 +96,15 @@
* any file system will do for this cache to function. Entries are maintained
* either by FIFO (default) or LRU (configurable) based list implementation.
* <BR><BR>
- * Cache sizing is based on the size or percentage of free space availble in
- * the file system, such that if enough memory is free, then adding an entry
- * to the cache will not require purging, but if more than a specified
- * percentage of the file system available space is already consumed, then
- * one or more entries will need to be removed in order to make room for a
- * new entry. It is also possible to configure a maximum number of entries
- * for the cache. If this is specified, then the number of entries will not
- * be allowed to exceed this value, but it may not be possible to hold this
- * many entries if the available memory fills up first.
+ * Cache sizing is based on the size of free space available in the file
+ * system, such that if enough memory is free, then adding an entry to the
+ * cache will not require purging, but if more than a specified size of the
+ * file system available space is already consumed, then one or more entries
+ * will need to be removed in order to make room for a new entry. It is also
+ * possible to configure a maximum number of entries for the cache. If this
+ * is specified, then the number of entries will not be allowed to exceed
+ * this value, but it may not be possible to hold this many entries if the
+ * available memory fills up first.
* <BR><BR>
* Other configurable parameters for this cache include the maximum length of
* time to block while waiting to acquire a lock, and a set of filters that may
--
Gitblit v1.10.0