W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2007

2002/css-validator/org/w3c/css/index IndexGenerator.java,1.4,1.5

From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 19 Sep 2007 15:33:57 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IY1Yr-0005CD-SE@lionel-hutz.w3.org>

Update of /sources/public/2002/css-validator/org/w3c/css/index
In directory hutz:/tmp/cvs-serv19922/org/w3c/css/index

Modified Files:
	IndexGenerator.java 
Log Message:
synchronyzing the thread which creates the index pages

Index: IndexGenerator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/index/IndexGenerator.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- IndexGenerator.java	13 Sep 2007 09:57:43 -0000	1.4
+++ IndexGenerator.java	19 Sep 2007 15:33:55 -0000	1.5
@@ -53,7 +53,7 @@
 	 * @param servlet, if this method is called from the servlet,
 	 * the path is a bit different and need to be changed.
 	 */
-	public static void generatesIndex(boolean servlet) {
+	public synchronized static void generatesIndex(boolean servlet) {
 		String default_lang = "en", k, name, path;
 		ApplContext ac_default = new ApplContext(default_lang);
 		File tmpFile;
Received on Wednesday, 19 September 2007 15:34:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:08:28 UTC