Bring Thrift test code up to date
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664852 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/java/src/TestServer.java b/test/java/src/TestServer.java
index fe70594..bf3f685 100644
--- a/test/java/src/TestServer.java
+++ b/test/java/src/TestServer.java
@@ -237,12 +237,10 @@
}
// Processor
- TBinaryProtocol binaryProtocol =
- new TBinaryProtocol();
TestHandler testHandler =
new TestHandler();
ThriftTest.Processor testProcessor =
- new ThriftTest.Processor(testHandler, binaryProtocol);
+ new ThriftTest.Processor(testHandler);
// Transport
TServerSocket tServerSocket =
@@ -254,7 +252,7 @@
// serverEngine = new TSimpleServer(testProcessor, tServerSocket);
// ThreadPool Server
- serverEngine = new TThreadPoolServer(testProcessor, tServerSocket);
+ serverEngine = new TThreadPoolServer(testProcessor, tServerSocket);
// Run it
System.out.println("Starting the server on port " + port + "...");