Format code [skip actions]

This commit is contained in:
github-actions 2023-06-16 18:28:59 +00:00
parent c3339de184
commit 31cef88ef7

View File

@ -92,15 +92,16 @@ public final class RegionHandler implements Router {
// Create a region info object. // Create a region info object.
var regionInfo = var regionInfo =
RegionInfo.newBuilder() RegionInfo.newBuilder()
.setGateserverIp(region.Ip) .setGateserverIp(region.Ip)
.setGateserverPort(region.Port) .setGateserverPort(region.Port)
.build(); .build();
// Create an updated region query. // Create an updated region query.
var updatedQuery = QueryCurrRegionHttpRsp.newBuilder() var updatedQuery =
.setRegionInfo(regionInfo) QueryCurrRegionHttpRsp.newBuilder()
.setClientSecretKey(ByteString.copyFrom(Crypto.DISPATCH_SEED)) .setRegionInfo(regionInfo)
.build(); .setClientSecretKey(ByteString.copyFrom(Crypto.DISPATCH_SEED))
.build();
regions.put( regions.put(
region.Name, region.Name,
new RegionData( new RegionData(