portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r662983 - in /portals/jetspeed-2/portal: branches/JETSPEED-2.1.2-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/ branches/JETSPEED-2.1.3-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/ trunk/components/...
Date Wed, 04 Jun 2008 05:30:18 GMT
Author: taylor
Date: Tue Jun  3 22:30:17 2008
New Revision: 662983

URL: http://svn.apache.org/viewvc?rev=662983&view=rev
Log:
https://issues.apache.org/jira/browse/JS2-882

Modified:
    portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
    portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
    portals/jetspeed-2/portal/trunk/components/jetspeed-cm/src/main/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java

Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java?rev=662983&r1=662982&r2=662983&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
(original)
+++ portals/jetspeed-2/portal/branches/JETSPEED-2.1.2-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
Tue Jun  3 22:30:17 2008
@@ -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;
@@ -49,7 +50,7 @@
 	public EhPortletWindowCache(Ehcache ehcache) 
 	{
 		super(ehcache);
-		portletEntityIdToEntityid = new HashMap();
+		portletEntityIdToEntityid = Collections.synchronizedMap(new HashMap());
 	}
 	
 	/* (non-Javadoc)

Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java?rev=662983&r1=662982&r2=662983&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
(original)
+++ portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/cm/src/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
Tue Jun  3 22:30:17 2008
@@ -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;
@@ -49,7 +50,7 @@
 	public EhPortletWindowCache(Ehcache ehcache) 
 	{
 		super(ehcache);
-		portletEntityIdToEntityid = new HashMap();
+        portletEntityIdToEntityid = Collections.synchronizedMap(new HashMap());
 	}
 	
 	/* (non-Javadoc)

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-cm/src/main/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-cm/src/main/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java?rev=662983&r1=662982&r2=662983&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-cm/src/main/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-cm/src/main/java/org/apache/jetspeed/cache/impl/EhPortletWindowCache.java
Tue Jun  3 22:30:17 2008
@@ -49,8 +49,8 @@
 	public EhPortletWindowCache(Ehcache ehcache) 
 	{
 		super(ehcache);
-		portletEntityIdToEntityid = new HashMap();
-	}
+        portletEntityIdToEntityid = Collections.synchronizedMap(new HashMap());
+    }
 	
 	/* (non-Javadoc)
 	 * @see org.apache.jetspeed.cache.impl.PortletWindowCache#getPortletWindow(java.lang.String)



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message