Skip to content

Commit bb221c2

Browse files
committed
Add comment to indicate necessity of alignment with upstream implementation. (#215, f64cbde)
1 parent f64cbde commit bb221c2

File tree

1 file changed

+1
-0
lines changed
  • metafix/src/main/java/org/metafacture/metafix

1 file changed

+1
-0
lines changed

metafix/src/main/java/org/metafacture/metafix/Value.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ public void remove(final int index) {
462462
*/
463463
public static class Hash extends AbstractValueType {
464464

465+
// NOTE: Keep in sync with `WildcardTrie`/`SimpleRegexTrie` implementation in metafacture-core.
465466
private static final Matcher PATTERN_MATCHER = Pattern.compile("[*?|]|\\[[^\\]]").matcher("");
466467

467468
private static final Map<String, Map<String, Boolean>> TRIE_CACHE = new HashMap<>();

0 commit comments

Comments
 (0)