Code formating and whitespace cleanup
[jpim.git] / src / de / j32 / httplib / HttpResponse.java
index c35adb4..b1dfb77 100644 (file)
@@ -4,31 +4,27 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.net.HttpURLConnection;
 
-public class HttpResponse
-       extends InputStream
+public class HttpResponse extends InputStream
 {
-       HttpURLConnection connection_;
-       InputStream stream_;
-       
-       public HttpResponse(HttpURLConnection connection)
-               throws IOException
-       {
-               connection_ = connection;
-               stream_ = connection_.getInputStream();
-       }
-       
-       @Override
-       public int read()
-               throws IOException
-       {
-               return stream_.read();
-       }
+    HttpURLConnection connection_;
+    InputStream stream_;
+
+    public HttpResponse(HttpURLConnection connection) throws IOException
+    {
+        connection_ = connection;
+        stream_ = connection_.getInputStream();
+    }
+
+    @Override
+    public int read() throws IOException
+    {
+        return stream_.read();
+    }
+
+    @Override
+    public void close() throws IOException
+    {
+        stream_.close();
+    }
 
-       @Override
-       public void close()
-               throws IOException
-       {
-               stream_.close();
-       }
-       
 }