Repository: hbase
Updated Branches:
  refs/heads/HBASE-14850 166e49dcd -> a93c6a998


HBASE-18400 [C++] ConnectionId Equals/Hash should consider service_name 
(Xiaobing Zhou) - ADDENDUM to reformat the code.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9effc920
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9effc920
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9effc920

Branch: refs/heads/HBASE-14850
Commit: 9effc9201f01726802622c4a27aa1f36db4cc18d
Parents: 166e49d
Author: Enis Soztutar <e...@apache.org>
Authored: Wed Jul 19 11:45:45 2017 -0700
Committer: Enis Soztutar <e...@apache.org>
Committed: Wed Jul 19 11:45:51 2017 -0700

----------------------------------------------------------------------
 hbase-native-client/connection/connection-id.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/9effc920/hbase-native-client/connection/connection-id.h
----------------------------------------------------------------------
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;
 

Reply via email to