remove redundent final modifier
This commit is contained in:
parent
9315c8aaba
commit
8ccfdc1bf6
1 changed files with 2 additions and 2 deletions
|
@ -41,14 +41,14 @@ public abstract class RpcSystem<VatId> {
|
||||||
new RpcState(bootstrapInterface, connection, onDisconnect));
|
new RpcState(bootstrapInterface, connection, onDisconnect));
|
||||||
}
|
}
|
||||||
|
|
||||||
private final CompletableFuture<java.lang.Void> doAcceptLoop() {
|
private CompletableFuture<java.lang.Void> doAcceptLoop() {
|
||||||
return this.network.baseAccept().thenCompose(connection -> {
|
return this.network.baseAccept().thenCompose(connection -> {
|
||||||
this.accept(connection);
|
this.accept(connection);
|
||||||
return this.doAcceptLoop();
|
return this.doAcceptLoop();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private final CompletableFuture<java.lang.Void> doMessageLoop() {
|
private CompletableFuture<java.lang.Void> doMessageLoop() {
|
||||||
var accept = this.getAcceptLoop();
|
var accept = this.getAcceptLoop();
|
||||||
for (var conn : connections.values()) {
|
for (var conn : connections.values()) {
|
||||||
accept = accept.acceptEither(conn.getMessageLoop(), x -> {});
|
accept = accept.acceptEither(conn.getMessageLoop(), x -> {});
|
||||||
|
|
Loading…
Reference in a new issue