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

2006/unicorn/src/org/w3c/unicorn/action ObserveAction.java,1.53,1.54

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 13 Oct 2009 16:38:57 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MxkOn-0006xw-8o@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv26760/src/org/w3c/unicorn/action

Modified Files:
	ObserveAction.java 
Log Message:
changed the X-W3C-* headers order

Index: ObserveAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/ObserveAction.java,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- ObserveAction.java	13 Oct 2009 16:36:23 -0000	1.53
+++ ObserveAction.java	13 Oct 2009 16:38:55 -0000	1.54
@@ -284,13 +284,13 @@
 						warnings += observationList.get(key).getWarningCount();
 						infos += observationList.get(key).getInfoCount();
 					}
-					resp.setHeader("X-W3C-Validator-Errors", Integer.toString(errors));
-					resp.setHeader("X-W3C-Validator-Info", Integer.toString(infos));
-					resp.setHeader("X-W3C-Validator-Warnings", Integer.toString(warnings));
 					if (errors > 0)
 						resp.setHeader("X-W3C-Validator-Status", "Invalid");
 					else
 						resp.setHeader("X-W3C-Validator-Status", "Valid");
+					resp.setHeader("X-W3C-Validator-Errors", Integer.toString(errors));
+					resp.setHeader("X-W3C-Validator-Warnings", Integer.toString(warnings));
+					resp.setHeader("X-W3C-Validator-Info", Integer.toString(infos));
 				}
 				
 				
Received on Tuesday, 13 October 2009 16:38:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC