W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2008

2006/unicorn/org/w3c/unicorn/util ClientHttpRequest.java,1.9,1.10

From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 24 Sep 2008 14:23:26 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KiVH4-0005E7-SW@lionel-hutz.w3.org>

Update of /sources/public/2006/unicorn/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv20021

Modified Files:
	ClientHttpRequest.java 
Log Message:
test


Index: ClientHttpRequest.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/util/ClientHttpRequest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ClientHttpRequest.java	24 Sep 2008 13:48:24 -0000	1.9
+++ ClientHttpRequest.java	24 Sep 2008 14:23:24 -0000	1.10
@@ -107,11 +107,8 @@
 	 * @throws IOException
 	 */
 	private void boundary () throws IOException {
-    System.out.println("boundary() " + this.aURLConnection.getRequestMethod());
 		this.write("--");
-    System.out.println("boundary() " + this.aURLConnection.getRequestMethod());
 		this.write(this.sBoundary);
-    System.out.println("boundary() " + this.aURLConnection.getRequestMethod());
 	}
 
 	/**
@@ -201,9 +198,7 @@
 	 */
 	public void setLang (final String sLang) {
 		ClientHttpRequest.logger.debug("setLang("+sLang+")");
-    System.out.println("setLang() " + this.aURLConnection.getRequestMethod());
 		this.aURLConnection.setRequestProperty("Accept-Language", sLang);
-    System.out.println("setLang() " + this.aURLConnection.getRequestMethod());
 	}
 
 	/**
@@ -232,17 +227,11 @@
 			ClientHttpRequest.logger.debug("Name : " + sName + ".");
 			ClientHttpRequest.logger.debug("Value : " + sValue + ".");
 		}
-    System.out.println("setParameter() " + this.aURLConnection.getRequestMethod());
 		this.boundary();
-    System.out.println("setParameter() " + this.aURLConnection.getRequestMethod());
 		this.writeName(sName);
-    System.out.println("setParameter() " + this.aURLConnection.getRequestMethod());
 		this.newline();
-    System.out.println("setParameter() " + this.aURLConnection.getRequestMethod());
 		this.newline();
-    System.out.println("setParameter() " + this.aURLConnection.getRequestMethod());
 		this.writeln(sValue);
-    System.out.println("setParameter() " + this.aURLConnection.getRequestMethod());
 	}
 
 	/**
@@ -284,33 +273,19 @@
 			ClientHttpRequest.logger.debug("File name : " + sFileName + ".");
 			ClientHttpRequest.logger.debug("InputStream : " + aInputStream + ".");
 		}
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.boundary();
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.writeName(sName);
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.write("; filename=\"");
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.write(sFileName);
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.write('"');
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.newline();
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.write("Content-Type: ");
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		String sType = URLConnection.guessContentTypeFromName(sFileName);
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		if (sType == null) sType = "application/octet-stream";
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.writeln(sType);
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.newline();
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		ClientHttpRequest.pipe(aInputStream, this.aOutputStream);
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 		this.newline();
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 	}
 
 	/**
@@ -322,9 +297,7 @@
 	public void setParameter (
 			final String sName,
 			final File aFile) throws IOException {
-    System.out.println("setParameter3() " + this.aURLConnection.getRequestMethod());
 		this.setParameter(sName, aFile.getPath(), new FileInputStream(aFile));
-    System.out.println("setParameter2() " + this.aURLConnection.getRequestMethod());
 	}
 
 	/**
@@ -375,12 +348,9 @@
 	 * @throws IOException
 	 */
 	public InputStream post () throws IOException {
-    System.out.println("post() " + this.aURLConnection.getRequestMethod());
 		this.boundary();
 		this.writeln("--");
-    System.out.println("post() " + this.aURLConnection.getRequestMethod());
 		this.aOutputStream.close();
-    System.out.println("post() " + this.aURLConnection.getRequestMethod());
 
 		return this.aURLConnection.getInputStream();
 	}
Received on Wednesday, 24 September 2008 14:34:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:30 UTC