hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zg...@apache.org
Subject [hbase] 101/133: HBASE-18400 [C++] ConnectionId Equals/Hash should consider service_name (Xiaobing Zhou) - ADDENDUM to reformat the code.
Date Tue, 12 Mar 2019 12:46:29 GMT
This is an automated email from the ASF dual-hosted git repository.

zghao pushed a commit to branch HBASE-14850
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit ce503543f6d04d00036282ac7ec3d026d68b0152
Author: Enis Soztutar <enis@apache.org>
AuthorDate: Wed Jul 19 11:45:45 2017 -0700

    HBASE-18400 [C++] ConnectionId Equals/Hash should consider service_name (Xiaobing Zhou)
- ADDENDUM to reformat the code.
---
 hbase-native-client/connection/connection-id.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/hbase-native-client/connection/connection-id.h b/hbase-native-client/connection/connection-id.h
index 059469f..4f84bf8 100644
--- a/hbase-native-client/connection/connection-id.h
+++ b/hbase-native-client/connection/connection-id.h
@@ -39,9 +39,11 @@ class ConnectionId {
                const std::string &service_name)
       : user_(user), service_name_(service_name), host_(host), port_(port) {}
 
-  ConnectionId(const std::string &host, uint16_t port,
-               const std::string &service_name)
-        : user_(security::User::defaultUser()), service_name_(service_name), host_(host),
port_(port) {}
+  ConnectionId(const std::string &host, uint16_t port, const std::string &service_name)
+      : user_(security::User::defaultUser()),
+        service_name_(service_name),
+        host_(host),
+        port_(port) {}
 
   virtual ~ConnectionId() = default;
 


Mime
View raw message