Skip to content
Snippets Groups Projects
Commit 954ef386 authored by Terry D. Norbraten's avatar Terry D. Norbraten
Browse files

use sys err for errors

parent ecdcae83
No related branches found
No related tags found
No related merge requests found
...@@ -52,9 +52,9 @@ public class HttpWebPageSource { ...@@ -52,9 +52,9 @@ public class HttpWebPageSource {
// But a web server will write an unknown number of lines. // But a web server will write an unknown number of lines.
// So now we read until the transmisson ends. // So now we read until the transmisson ends.
InputStream is = socket.getInputStream(); InputStream is = socket.getInputStream();
InputStreamReader isr = new InputStreamReader(is); Reader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr); BufferedReader br = new BufferedReader(isr);
String line; String line;
int count = 0; int count = 0;
...@@ -68,8 +68,8 @@ public class HttpWebPageSource { ...@@ -68,8 +68,8 @@ public class HttpWebPageSource {
} }
catch(IOException e) catch(IOException e)
{ {
System.out.println("HttpWebPageSource: problem with client"); System.err.println("HttpWebPageSource: problem with client");
System.out.println(e); System.err.println(e);
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment