[pal-cvs 3219] [956] fixed JS2-882

svnno****@sourc***** svnno****@sourc*****
2008年 6月 5日 (木) 09:28:22 JST


Revision: 956
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=956
Author:   shinsuke
Date:     2008-06-05 09:28:22 +0900 (Thu, 05 Jun 2008)

Log Message:
-----------
fixed JS2-882

Modified Paths:
--------------
    pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java


-------------- next part --------------
Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
===================================================================
--- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java	2008-06-05 00:23:20 UTC (rev 955)
+++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java	2008-06-05 00:28:22 UTC (rev 956)
@@ -16,6 +16,7 @@
  */
 package org.apache.jetspeed.cache.impl;
 
+import java.util.Collections;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Iterator;
@@ -54,7 +55,7 @@
     public EhPortletWindowCache(Ehcache ehcache)
     {
         super(ehcache);
-        portletEntityIdToEntityid = new HashMap();
+        portletEntityIdToEntityid = Collections.synchronizedMap(new HashMap());
     }
 
     /*


pal-cvs メーリングリストの案内