General tidying

tidy Address helper functions,
make ordering of members consistent in allocate and claim,
make linter happier,
remove some unused items, and
update some comments
This commit is contained in:
Bryan Boreham committed 2015-06-10 17:24:36 +01:00
1 parent fa0b0042b2
commit a3d73be8b8
8 files changed
+34 -50

No files matched your search

+4
View File
@@ -716,6 +716,10 @@ func TestFuzzRingHard(t *testing.T) {
}
}
func (r *Ring) ClaimItAll() {
r.ClaimForPeers([]router.PeerName{r.Peer})
}
func (es entries) String() string {
var buffer bytes.Buffer
fmt.Fprintf(&buffer, "[")