follow golint suggestions

This commit is contained in:
chrislusf
2015-03-10 00:20:31 -07:00
parent b4cb8bfd27
commit b07d81fb08
26 changed files with 570 additions and 101 deletions

View File

@@ -151,9 +151,8 @@ func (cm *CompactMap) binarySearchCompactSection(key Key) int {
if cm.list[h].start <= key {
if cm.list[h].counter < batch || key <= cm.list[h].end {
return h
} else {
return -4
}
return -4
}
for l <= h {
m := (l + h) / 2