提交 82a343b8 编写于 作者: A ascrutae

Merge remote-tracking branch 'origin/master'

......@@ -10,8 +10,6 @@ import io.grpc.ServerBuilder;
import java.io.IOException;
public class TransferService {
private static final int DEFAULT_SERVICE_PORT = 34000;
private Server server;
private TransferService(Server server) {
......@@ -44,10 +42,6 @@ public class TransferService {
public static class TransferServiceBuilder {
private TransferServiceBuilder(int port) {
if (port < 0 && port > 65535) {
port = DEFAULT_SERVICE_PORT;
}
serverBuilder = ServerBuilder.forPort(port);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册