THRIFT-202: java: Fix "make check"

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Reiss 2008-11-20 22:22:23 +00:00
parent 466b3fafcd
commit c26da0a391

View File

@ -35,8 +35,6 @@ public class TestClient {
String url = null;
int numTests = 1;
boolean framed = false;
boolean framedInput = true;
boolean framedOutput = true;
int socketTimeout = 1000;
@ -48,9 +46,6 @@ public class TestClient {
port = Integer.valueOf(hostport[1]);
} else if (args[i].equals("-f") || args[i].equals("-framed")) {
framed = true;
} else if (args[i].equals("-fo")) {
framed = true;
framedInput = false;
} else if (args[i].equals("-u")) {
url = args[++i];
} else if (args[i].equals("-n")) {
@ -72,9 +67,7 @@ public class TestClient {
socket.setTimeout(socketTimeout);
transport = socket;
if (framed) {
transport = new TFramedTransport(transport,
framedInput,
framedOutput);
transport = new TFramedTransport(transport);
}
}