Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14478
Change subject: log: minor refactoring ...................................................................... log: minor refactoring This swaps out a multi-case if statement for a switch statement. There are negligible functional changes (we take the allocation_lock_ once name per WriteBatch() instead of potentially twice). Change-Id: I1f717f556b09910b32800b30d3551f58e72cfad7 --- M src/kudu/consensus/log.cc 1 file changed, 17 insertions(+), 13 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/78/14478/1 -- To view, visit http://gerrit.cloudera.org:8080/14478 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I1f717f556b09910b32800b30d3551f58e72cfad7 Gerrit-Change-Number: 14478 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
