From 2e48b34f20e9298d05a03baf0daca03b390eb821 Mon Sep 17 00:00:00 2001 From: Breus Blaauwendraad Date: Sun, 22 Dec 2024 16:10:52 +0100 Subject: [PATCH] Apply suggestions from code review --- src/main/java/dev/blaauwendraad/masker/json/KeyMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/blaauwendraad/masker/json/KeyMatcher.java b/src/main/java/dev/blaauwendraad/masker/json/KeyMatcher.java index 1f5a36e5..0e0fe262 100644 --- a/src/main/java/dev/blaauwendraad/masker/json/KeyMatcher.java +++ b/src/main/java/dev/blaauwendraad/masker/json/KeyMatcher.java @@ -38,7 +38,7 @@ *

Further, at initialization time, a case-insensitive radix trie is created such that any casing * transformations on the looked-up keys during search are avoided. * - *

We can also make a radix trie that looks at bytes instead of characters, so that we can use + *

We create a radix trie that looks at bytes instead of characters, so that we can use * the bytes and offsets directly in the incoming JSON for comparison and make sure there are no * allocations at all. */