- From: Jonathan Barouh via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 08 Sep 2008 12:45:38 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn/request In directory hutz:/tmp/cvs-serv10605/org/w3c/unicorn/request Modified Files: RequestList.java Log Message: Cleaner version. Index: RequestList.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/request/RequestList.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- RequestList.java 26 Aug 2008 15:30:59 -0000 1.4 +++ RequestList.java 8 Sep 2008 12:45:30 -0000 1.5 @@ -5,6 +5,7 @@ package org.w3c.unicorn.request; import java.io.IOException; +import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Map; @@ -51,6 +52,7 @@ * @return */ public Map<String,Request> getRequestMap() { + RequestList.logger.trace("getRequestMap"); return this.mapOfRequest; } @@ -69,14 +71,17 @@ return this.mapOfRequest.get(sNodeID); } + /** * Adds a request to the map * @param aRequest * @param sNodeID The ID of the corresponding node * @throws IOException */ + public void addRequest(final Request aRequest, final String sNodeID) throws IOException { + RequestList.logger.trace("addRequest"); if (RequestList.logger.isDebugEnabled()) { RequestList.logger.debug("Request : " + aRequest + ".");
Received on Monday, 8 September 2008 12:57:34 UTC