remove excess client construction from EzRpcClient
This commit is contained in:
parent
2dcaebb8f3
commit
4f55af417f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ public class EzRpcClient {
|
||||||
|
|
||||||
public EzRpcClient(AsynchronousSocketChannel socket) {
|
public EzRpcClient(AsynchronousSocketChannel socket) {
|
||||||
this.twoPartyRpc = new TwoPartyClient(socket);
|
this.twoPartyRpc = new TwoPartyClient(socket);
|
||||||
this.client = new Capability.Client(this.twoPartyRpc.bootstrap());
|
this.client = this.twoPartyRpc.bootstrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Capability.Client getMain() {
|
public Capability.Client getMain() {
|
||||||
|
|
Loading…
Reference in a new issue