From c26da0a391cc8ae4d7e2c54d088006c72f60a274 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Thu, 20 Nov 2008 22:22:23 +0000 Subject: [PATCH] THRIFT-202: java: Fix "make check" git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719407 13f79535-47bb-0310-9956-ffa450edef68 --- test/java/src/TestClient.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test/java/src/TestClient.java b/test/java/src/TestClient.java index bc76e830e..b092197ef 100644 --- a/test/java/src/TestClient.java +++ b/test/java/src/TestClient.java @@ -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); } }