webwork/src/main/webwork/util Query.java,1.20,1.21
[email protected] Mon, 10 Nov 2003 00:07:24 -0800
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/opensymphony/webwork/src/main/webwork/util
In directory sc8-pr-cvs1:/tmp/cvs-serv28191
Modified Files:
Query.java
Log Message:
Use the ConcurrentReaderHashMap to fix threading problems as
described in issue WW-377
Index: Query.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/util/Query.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- Query.java 9 Sep 2003 20:39:58 -0000 1.20
+++ Query.java 10 Nov 2003 08:07:22 -0000 1.21
@@ -18,7 +18,7 @@
*/
public class Query {
// Static -------------------------------------------------------
- static Map queries = new HashMap();
+ static Map queries = new ConcurrentReaderHashMap();
/**
* Create a new Query and cache it for faster processing;
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/