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

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 UTC