|
|
| <prev next> |
Choosing A Webhost: |
svn commit: r524487 - /lenya/branches/BRANCH_1_2_X/src/java/org/apache/leny: msg#00040cms.lenya.cvs
Author: antonio Date: Sat Mar 31 14:58:59 2007 New Revision: 524487 URL: http://svn.apache.org/viewvc?view=rev&rev=524487 Log: Fix concurrency issue. Thanks to Jann Forrer (jann.forrer@xxxxxxxxx). Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/uriparameterizer/URIParameterizerImpl.java Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/uriparameterizer/URIParameterizerImpl.java URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/uriparameterizer/URIParameterizerImpl.java?view=diff&rev=524487&r1=524486&r2=524487 ============================================================================== --- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/uriparameterizer/URIParameterizerImpl.java (original) +++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/cocoon/uriparameterizer/URIParameterizerImpl.java Sat Mar 31 14:58:59 2007 @@ -20,6 +20,7 @@ package org.apache.lenya.cms.cocoon.uriparameterizer; +import java.util.Collections; import java.util.HashMap; import java.util.Map; @@ -178,7 +179,7 @@ protected static final int CACHE_CAPACITY = 1000; - private static Map cache = new LRUMap(CACHE_CAPACITY); + private static Map cache = Collections.synchronizedMap(new LRUMap(CACHE_CAPACITY)); private ServiceManager manager;
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | svn commit: r524165 - in /lenya/trunk/src/modules/news: sitemap.xmap xslt/collection2rss.xsl, andreas |
|---|---|
| Previous by Thread: | svn commit: r524165 - in /lenya/trunk/src/modules/news: sitemap.xmap xslt/collection2rss.xsl, andreas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |