You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by br...@apache.org on 2021/12/03 11:21:47 UTC

[hadoop] branch trunk updated: HDFS-16364. Remove unnecessary brackets in NameNodeRpcServer#L453 (#3742)

This is an automated email from the ASF dual-hosted git repository.

brahma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0cb6c28  HDFS-16364. Remove unnecessary brackets in NameNodeRpcServer#L453 (#3742)
0cb6c28 is described below

commit 0cb6c28d192e8e0132c4719d658fb4f1a42d5a5f
Author: wangzhaohui <32...@users.noreply.github.com>
AuthorDate: Fri Dec 3 19:21:04 2021 +0800

    HDFS-16364. Remove unnecessary brackets in NameNodeRpcServer#L453 (#3742)
---
 .../java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
index 474b5e2..c0cb578 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
@@ -450,7 +450,7 @@ public class NameNodeRpcServer implements NamenodeProtocols {
 
     GlobalStateIdContext stateIdContext = null;
     if (enableStateContext) {
-      stateIdContext = new GlobalStateIdContext((namesystem));
+      stateIdContext = new GlobalStateIdContext(namesystem);
     }
 
     clientRpcServer = new RPC.Builder(conf)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org