Here are a 2 line patch against MRUMemoryStore from cocoon_20_branch

1. Correction in javadoc (default is 100 and not 10).
2. Correction in thrown exception, minimum is 1 object and not
        1 milli-second.

Please, check before applying, I may have misunderstand something.
The HEAD branch may have same problems.

Also, in the cocoon_20_branch, at the CVS root, there is still a
WARNING file saying that cocoon2 is alpha.

-- 
Sébastien Koechlin - IVision - [EMAIL PROTECTED]
--- MRUMemoryStore.java.orig    Mon Nov 26 10:30:43 2001
+++ MRUMemoryStore.java Tue Dec  4 15:11:23 2001
@@ -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));

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to