- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 06 Oct 2009 10:03:59 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output In directory hutz:/tmp/cvs-serv32119/src/org/w3c/unicorn/output Modified Files: MailOutputModule.java Log Message: new Message constructor Index: MailOutputModule.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/MailOutputModule.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- MailOutputModule.java 5 Oct 2009 14:25:42 -0000 1.14 +++ MailOutputModule.java 6 Oct 2009 10:03:57 -0000 1.15 @@ -64,7 +64,7 @@ //mapOfStringObject.put("baseUri", "http://qa-dev.w3.org/unicorn/"); ArrayList<Message> messages = ((ArrayList<Message>) mapOfStringObject.get("messages")); - Message pendingMess = new Message(Message.INFO, "$message_mail " + recipient); + Message pendingMess = new Message(Message.INFO, "$message_mail", null, recipient); if (recipient == null) { throw new UnicornException(new Message(Message.ERROR, "$message_missing_email")); @@ -90,7 +90,7 @@ ArrayList<Message> messages = ((ArrayList<Message>) mapOfStringObject.get("messages")); SimpleDateFormat dateFormat = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss (Z)", new Locale(outputParameters.get("lang"))); - messages.add(new Message(Message.INFO, "$message_mail_date " + dateFormat.format(new Date()))); + messages.add(new Message(Message.INFO, "$message_mail_date", null, dateFormat.format(new Date()))); mapOfStringObject.put("baseUri", Property.get("UNICORN_URL"));
Received on Tuesday, 6 October 2009 10:04:03 UTC