- From: Mercurial notifier <nobody@w3.org>
- Date: Fri, 18 Jun 2010 17:36:46 -0400
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1278:3374c09c0899 user: Thomas Gambet <tgambet@w3.org> date: Fri Jun 18 17:31:44 2010 -0400 files: src/org/w3c/unicorn/Framework.java description: fixed: clears default messages before parsing messages.properties diff -r 461b8da4b5fc -r 3374c09c0899 src/org/w3c/unicorn/Framework.java --- a/src/org/w3c/unicorn/Framework.java Fri Jun 18 17:15:41 2010 -0400 +++ b/src/org/w3c/unicorn/Framework.java Fri Jun 18 17:31:44 2010 -0400 @@ -563,7 +563,7 @@ logger.info("OK - Velocity successfully initialized"); } - private static void initDefaultMessages() { + public static void initDefaultMessages() { logger.debug("-------------------------------------------------------"); logger.debug("Loading messages from messages.properties"); @@ -590,6 +590,7 @@ logger.debug("> Found message id: " + id); } } + MessageList.getDefaultMessages().clear(); for (String id : messageIds) { Message message = new Message(); String level = (String) props.get(id + ".level");
Received on Friday, 18 June 2010 21:39:31 UTC