Skip to content

Commit 4b041e9

Browse files
committed
minor naming change
1 parent 86b31e7 commit 4b041e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/fasterxml/jackson/core/sym/ByteQuadsCanonicalizer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ private int _findOffsetForAdd(int hash)
934934
// (NOTE: approximate for now; we could verify details if that becomes necessary)
935935
if (_spilloverEnd >= hashArea.length) {
936936
if (_failOnDoS) {
937-
reportTooManyCollisions();
937+
_reportTooManyCollisions();
938938
}
939939
// and if we didn't fail, we'll simply force rehash for next add
940940
// (which, in turn, may double up or nuke contents, depending on size etc)
@@ -1181,7 +1181,7 @@ private final int _spilloverStart() {
11811181
return (offset << 3) - offset;
11821182
}
11831183

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

0 commit comments

Comments
 (0)