Removed a code line from examples some users found confusing

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@698722 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2008-09-24 20:40:28 +00:00
parent 726aa572bf
commit 9f8564219e
7 changed files with 0 additions and 7 deletions

View File

@ -55,7 +55,6 @@ public class ClientAbortMethod {
System.out.println(response.getStatusLine());
if (entity != null) {
System.out.println("Response content length: " + entity.getContentLength());
System.out.println("Chunked?: " + entity.isChunked());
}
System.out.println("----------------------------------------");

View File

@ -61,7 +61,6 @@ public class ClientAuthentication {
System.out.println(response.getStatusLine());
if (entity != null) {
System.out.println("Response content length: " + entity.getContentLength());
System.out.println("Chunked?: " + entity.isChunked());
}
if (entity != null) {
entity.consumeContent();

View File

@ -76,7 +76,6 @@ public class ClientCustomContext {
System.out.println(response.getStatusLine());
if (entity != null) {
System.out.println("Response content length: " + entity.getContentLength());
System.out.println("Chunked?: " + entity.isChunked());
}
List<Cookie> cookies = cookieStore.getCookies();
for (int i = 0; i < cookies.size(); i++) {

View File

@ -72,7 +72,6 @@ public class ClientCustomSSL {
System.out.println(response.getStatusLine());
if (entity != null) {
System.out.println("Response content length: " + entity.getContentLength());
System.out.println("Chunked?: " + entity.isChunked());
}
if (entity != null) {
entity.consumeContent();

View File

@ -95,7 +95,6 @@ public class ClientPreemptiveBasicAuthentication {
System.out.println(response.getStatusLine());
if (entity != null) {
System.out.println("Response content length: " + entity.getContentLength());
System.out.println("Chunked?: " + entity.isChunked());
entity.consumeContent();
}
}

View File

@ -101,7 +101,6 @@ public class ClientPreemptiveDigestAuthentication {
System.out.println(response.getStatusLine());
if (entity != null) {
System.out.println("Response content length: " + entity.getContentLength());
System.out.println("Chunked?: " + entity.isChunked());
entity.consumeContent();
}
}

View File

@ -70,7 +70,6 @@ public class ClientProxyAuthentication {
System.out.println(response.getStatusLine());
if (entity != null) {
System.out.println("Response content length: " + entity.getContentLength());
System.out.println("Chunked?: " + entity.isChunked());
}
if (entity != null) {
entity.consumeContent();