HDFS-16364. Remove unnecessary brackets in NameNodeRpcServer#L453 (#3742)

This commit is contained in:
wangzhaohui 2021-12-03 19:21:04 +08:00 committed by GitHub
parent 52ec65fd10
commit 0cb6c28d19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -450,7 +450,7 @@ public NameNodeRpcServer(Configuration conf, NameNode nn)
GlobalStateIdContext stateIdContext = null; GlobalStateIdContext stateIdContext = null;
if (enableStateContext) { if (enableStateContext) {
stateIdContext = new GlobalStateIdContext((namesystem)); stateIdContext = new GlobalStateIdContext(namesystem);
} }
clientRpcServer = new RPC.Builder(conf) clientRpcServer = new RPC.Builder(conf)