THRIFT-202: java: Fix "make check"
authorDavid Reiss <dreiss@apache.org>
Thu, 20 Nov 2008 22:22:23 +0000 (22:22 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 20 Nov 2008 22:22:23 +0000 (22:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719407 13f79535-47bb-0310-9956-ffa450edef68

test/java/src/TestClient.java

index bc76e83..b092197 100644 (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);
         }
       }