|
From: Gerry D. <gd...@us...> - 2002-06-11 18:27:01
|
Update of /cvsroot/swapdv/swapdv/ReplayServer
In directory usw-pr-cvs1:/tmp/cvs-serv3068/ReplayServer
Modified Files:
HttpRequest.java HttpSocket.java
Log Message:
Replaced deprecated calls, added Util.ReadLine and modified position and sizing for first time Frame displays
Index: HttpRequest.java
===================================================================
RCS file: /cvsroot/swapdv/swapdv/ReplayServer/HttpRequest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- HttpRequest.java 11 Jun 2002 15:50:04 -0000 1.3
+++ HttpRequest.java 11 Jun 2002 18:26:58 -0000 1.4
@@ -64,9 +64,11 @@
}
private String readLine() throws IOException {
- String s = is.readLine();
+ return swapdv.Util.readLine(is);
+
+ /*String s = is.readLine();
if (s==null) throw new IOException("null line");
- return s;
+ return s; */
/*StringBuffer sb = new StringBuffer();
int c = is.read();
if (c==-1) throw new IOException("stream closed");
Index: HttpSocket.java
===================================================================
RCS file: /cvsroot/swapdv/swapdv/ReplayServer/HttpSocket.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- HttpSocket.java 7 Jun 2002 21:45:33 -0000 1.11
+++ HttpSocket.java 11 Jun 2002 18:26:58 -0000 1.12
@@ -125,7 +125,7 @@
}
public void run() {
- DataInputStream is=null;
+ DataInputStream is = null;
HttpRequest req = null;
HttpResponse res = null;
|