You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gi...@apache.org on 2001/12/05 11:48:38 UTC
cvs commit: xml-cocoon2/src/org/apache/cocoon/components/store MRUMemoryStore.java
giacomo 01/12/05 02:48:38
Modified: src/org/apache/cocoon/components/store Tag: cocoon_20_branch
MRUMemoryStore.java
Log:
Fixed some javadocs and log messages
Submitted by: Sebastien Koechlin <sk...@ivision.fr>
Revision Changes Path
No revision
No revision
1.2.2.23 +2 -2 xml-cocoon2/src/org/apache/cocoon/components/store/MRUMemoryStore.java
Index: MRUMemoryStore.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/store/MRUMemoryStore.java,v
retrieving revision 1.2.2.22
retrieving revision 1.2.2.23
diff -u -r1.2.2.22 -r1.2.2.23
--- MRUMemoryStore.java 2001/11/21 13:35:56 1.2.2.22
+++ MRUMemoryStore.java 2001/12/05 10:48:38 1.2.2.23
@@ -106,7 +106,7 @@
* Initialize the MRUMemoryStore.
* A few options can be used :
* <UL>
- * <LI>maxobjects = how many objects will be stored in memory (Default: 10 objects)</LI>
+ * <LI>maxobjects = how many objects will be stored in memory (Default: 100 objects)</LI>
* <LI>filesystem = use filesystem storage to keep object persistent (Default: false)</LI>
* </UL>
*
@@ -118,7 +118,7 @@
this.maxobjects = params.getParameterAsInteger("maxobjects",100);
this.filesystem = params.getParameterAsBoolean("filesystem",false);
if ((this.maxobjects < 1)) {
- throw new ConfigurationException("MRUMemoryStore maxobjects must be at least 1 milli second!");
+ throw new ConfigurationException("MRUMemoryStore maxobjects must be at least 1 object!");
}
this.cache = new Hashtable((int)(this.maxobjects * 1.2));
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org