You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/02/04 23:34:08 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/store MemoryStore.java
vgritsenko 02/02/04 14:34:08
Modified: src/java/org/apache/cocoon/components/store MemoryStore.java
Log:
Remove static from table. Reported by Bruno.Dumon@the-ecorp.com
Revision Changes Path
1.5 +2 -6 xml-cocoon2/src/java/org/apache/cocoon/components/store/MemoryStore.java
Index: MemoryStore.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/store/MemoryStore.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MemoryStore.java 4 Feb 2002 12:31:09 -0000 1.4
+++ MemoryStore.java 4 Feb 2002 22:34:08 -0000 1.5
@@ -67,7 +67,7 @@
* (Apache Software Foundation)
* @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
* (Apache Software Foundation, Exoffice Technologies)
- * @version CVS $Id: MemoryStore.java,v 1.4 2002/02/04 12:31:09 cziegeler Exp $
+ * @version CVS $Id: MemoryStore.java,v 1.5 2002/02/04 22:34:08 vgritsenko Exp $
*/
public class MemoryStore implements Store, ThreadSafe {
/* WARNING: Hashtable is threadsafe, whereas HashMap is not.
@@ -77,11 +77,7 @@
*/
/** The shared store */
- private static Hashtable table=null;
-
- public MemoryStore() {
- if (table==null) table=new Hashtable();
- }
+ private Hashtable table = new Hashtable();
/**
* Get the object associated to the given unique key.
----------------------------------------------------------------------
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