Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20031
Change subject: [cfile] replace BlockPointer::Equals() with operator==() ...................................................................... [cfile] replace BlockPointer::Equals() with operator==() The motivation for this change is an realisation that methods like Equals() look a bit funny in C++ code since the language supports much more expressive and readable way of comparing objects. I also did a minor cleanup to bring the code in block_pointer.h to the style guide and removed unused instances of the BlockPointer class elsewhere in the code. This patch doesn't contain any functional changes. Change-Id: I3b2c05931ce4b678ef184d0c812cf0fb51b650c7 --- M src/kudu/cfile/block_pointer.h M src/kudu/cfile/bloomfile.cc M src/kudu/cfile/cfile-test.cc M src/kudu/cfile/index_btree.cc 4 files changed, 26 insertions(+), 27 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/31/20031/1 -- To view, visit http://gerrit.cloudera.org:8080/20031 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I3b2c05931ce4b678ef184d0c812cf0fb51b650c7 Gerrit-Change-Number: 20031 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
