- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 20 Mar 2010 15:32:13 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist In directory hutz:/tmp/cvs-serv20849/src/org/w3c/unicorn/tasklist Modified Files: TaskListUnmarshallerBeans.java Log Message: Optimized log calls Index: TaskListUnmarshallerBeans.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/TaskListUnmarshallerBeans.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- TaskListUnmarshallerBeans.java 4 Mar 2010 18:47:17 -0000 1.11 +++ TaskListUnmarshallerBeans.java 20 Mar 2010 15:32:11 -0000 1.12 @@ -59,7 +59,6 @@ /** * The tasklist corresponding to the xml file */ - //private Map<String, Task> mapOfTask; private Tasklist mapOfTask; /** @@ -72,7 +71,6 @@ public TaskListUnmarshallerBeans(final Map<String, Observer> mapOfObserver) { logger.trace("Constructor"); - //this.mapOfTask = new LinkedHashMap<String, org.w3c.unicorn.tasklist.Task>(); this.mapOfTask = new Tasklist(); this.mapOfObserver = mapOfObserver; } @@ -273,12 +271,12 @@ final String sObserverName, final TUi.Enum aTUi, final String sDefaultValues, final TParamType.Enum aTParamType) throws ParameterException { - logger.trace("getParameterFromObserver"); - logger.debug("Parameter name : " + sParamName + "."); - logger.debug("Observer name : " + sObserverName + "."); - logger.debug("TUi : " + aTUi + "."); - logger.debug("Default values : " + sDefaultValues + "."); - logger.debug("TParamType : " + aTParamType + "."); + logger.trace("getParameterFromObserver\n" + + "Parameter name : " + sParamName + ".\n" + + "Observer name : " + sObserverName + ".\n" + + "TUi : " + aTUi + ".\n" + + "Default values : " + sDefaultValues + ".\n" + + "TParamType : " + aTParamType + "."); final Observer aObserver = this.mapOfObserver.get(sObserverName); @@ -439,12 +437,12 @@ final TParamType.Enum aTParamType, final String sName, final TUi.Enum aTUi, final String sDefaultValues, final Map<String, Value> mapOfValue) throws ParameterException { - logger.trace("createParameter"); - logger.debug("TParamType : " + aTParamType + "."); - logger.debug("Name : " + sName + "."); - logger.debug("TUi : " + aTUi + "."); - logger.debug("Default values : " + sDefaultValues + "."); - logger.debug("Map of value : " + mapOfValue + "."); + logger.trace("createParameter\n" + + "TParamType : " + aTParamType + ".\n" + + "Name : " + sName + ".\n" + + "TUi : " + aTUi + ".\n" + + "Default values : " + sDefaultValues + ".\n" + + "Map of value : " + mapOfValue + "."); final org.w3c.unicorn.tasklist.parameters.Parameter aParameter = ParameterFactory .getParameter(aTParamType); @@ -484,8 +482,8 @@ } public void addURL(URL aURL) throws IOException { - logger.trace("addURL"); - logger.debug("URL : " + aURL + "."); + logger.trace("addURL\n" + + "URL : " + aURL + "."); try { this.aTaskList = TasklistDocument.Factory.parse(aURL.openStream()); @@ -518,7 +516,7 @@ // and parameters for (final org.w3c.unicorn.tasklist.Task aTask : this.mapOfTask .values()) { - logger.debug("Expand task : " + aTask.getID() + "."); + logger.trace("Expand task : " + aTask.getID() + "."); aTask.setTree(aTask.expandNode(mapOfTask, aTask.getTree())); }
Received on Saturday, 20 March 2010 15:32:15 UTC