From bb2d79a277256a8664093d373ae2e73c44d9effa Mon Sep 17 00:00:00 2001 From: yuki Date: Mon, 1 Feb 2010 15:07:04 +0000 Subject: [PATCH] =?utf8?q?=E3=83=87=E3=83=90=E3=83=83=E3=82=B0=E5=87=BA?= =?utf8?q?=E5=8A=9B=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://192.168.11.7/svn/repository/NicoBrowser/branches/dev20100201_comment_download@277 bdf3b611-c98c-6041-8292-703d9c9adbe7 --- src/nicobrowser/NicoHttpClient.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/nicobrowser/NicoHttpClient.java b/src/nicobrowser/NicoHttpClient.java index 56f57e1..ec3be46 100644 --- a/src/nicobrowser/NicoHttpClient.java +++ b/src/nicobrowser/NicoHttpClient.java @@ -544,12 +544,6 @@ public class NicoHttpClient { if (response.containsHeader("Location")) { realId = response.getFirstHeader("Location").getValue().replace("/watch/", ""); } - BufferedReader reader = new BufferedReader(new InputStreamReader(response.getEntity().getContent())); - String line; - while((line = reader.readLine())!=null){ - System.out.println(line); - } - reader.close(); response.getEntity().consumeContent(); } finally { http.getParams().setBooleanParameter(ClientPNames.HANDLE_REDIRECTS, true); -- 2.11.0