Skip to content

Commit

Permalink
minor naming change
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Mar 30, 2015
1 parent 86b31e7 commit 4b041e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ private int _findOffsetForAdd(int hash)
// (NOTE: approximate for now; we could verify details if that becomes necessary)
if (_spilloverEnd >= hashArea.length) {
if (_failOnDoS) {
reportTooManyCollisions();
_reportTooManyCollisions();
}
// and if we didn't fail, we'll simply force rehash for next add
// (which, in turn, may double up or nuke contents, depending on size etc)
Expand Down Expand Up @@ -1181,7 +1181,7 @@ private final int _spilloverStart() {
return (offset << 3) - offset;
}

protected void reportTooManyCollisions()
protected void _reportTooManyCollisions()
{
// First: do not fuzz about small symbol tables; may get balanced by doubling up
if (_hashSize <= 1024) { // would have spill-over area of 128 entries
Expand Down

0 comments on commit 4b041e9

Please sign in to comment.