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

2006/unicorn/src/org/w3c/unicorn/action InitAction.java,1.5,1.6

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 14 Sep 2009 10:09:03 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mn8UZ-0004bL-O2@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv17660/src/org/w3c/unicorn/action

Modified Files:
	InitAction.java 
Log Message:
each task now executes initVelocity();

Index: InitAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/InitAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- InitAction.java	10 Sep 2009 15:40:40 -0000	1.5
+++ InitAction.java	14 Sep 2009 10:09:01 -0000	1.6
@@ -149,18 +149,18 @@
 					Framework.isUcnInitialized = false;
 					return;
 				}
+			}
 				
-				out.write("Initializing Velocity: ");
-				response.flushBuffer();
-				try {
-					Framework.initVelocity();
-					out.write("OK\n");
-				} catch (InitializationFailedException e) {
-					Framework.logger.fatal(e.getMessage(), e);
-					out.write("FAILED\n" + e);
-					Framework.isUcnInitialized = false;
-					return;
-				}
+			out.write("Initializing Velocity: ");
+			response.flushBuffer();
+			try {
+				Framework.initVelocity();
+				out.write("OK\n");
+			} catch (InitializationFailedException e) {
+				Framework.logger.fatal(e.getMessage(), e);
+				out.write("FAILED\n" + e);
+				Framework.isUcnInitialized = false;
+				return;
 			}
 			
 			out.close();
Received on Monday, 14 September 2009 10:24:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT