- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 21 Sep 2009 09:38:24 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv8710/src/org/w3c/unicorn
Modified Files:
UnicornCall.java
Log Message:
moved the filtering of the uri into the Response class
Index: UnicornCall.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/UnicornCall.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- UnicornCall.java 18 Sep 2009 17:12:26 -0000 1.18
+++ UnicornCall.java 21 Sep 2009 09:38:22 -0000 1.19
@@ -450,10 +450,7 @@
for (int i = 0; i < threadsList.size(); i++) {
try {
threadsList.get(i).join();
- Response resp = threadsList.get(i).getResponse();
- mapOfResponse.put(threadsList.get(i).getObsID(), resp);
- String outputParamName = Framework.mapOfObserver.get(resp.getObserverId()).getParamOutputName();
- resp.setRequestUri(resp.getRequestUri().replaceAll("&?" + outputParamName + "=[^&]*", ""));
+ mapOfResponse.put(threadsList.get(i).getObsID(), threadsList.get(i).getResponse());
logger.debug("Request " + ((RequestThread)threadsList.get(i)).getObsID() + " terminated");
} catch (InterruptedException e) {
e.printStackTrace();
Received on Monday, 21 September 2009 09:38:33 UTC