aboutsummaryrefslogtreecommitdiffstats
path: root/processing
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-01-08 12:06:23 +0100
committerJon Marius Venstad <venstad@gmail.com>2021-01-08 12:06:23 +0100
commit37a54bb3c5ab364b3dea8f8c20aeb9c7380c4834 (patch)
treee74ba53c60e70defd282827c645beb5ae835b53f /processing
parent22f2fda9aaea0e132e46b01f62fbd85c87a2a07c (diff)
Generate all matching collections in one pass through the Trie
Diffstat (limited to 'processing')
-rw-r--r--processing/src/main/java/com/yahoo/processing/request/CompoundName.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/processing/src/main/java/com/yahoo/processing/request/CompoundName.java b/processing/src/main/java/com/yahoo/processing/request/CompoundName.java
index 09c0879fdbf..43cd6fdad80 100644
--- a/processing/src/main/java/com/yahoo/processing/request/CompoundName.java
+++ b/processing/src/main/java/com/yahoo/processing/request/CompoundName.java
@@ -62,6 +62,7 @@ public final class CompoundName {
* @param name the string representation of the compounds
* @param compounds the compounds of this name
*/
+ // TODO jonmv: add constructor which reuses rests? Also, keep children in a weak-map for reuse? Avoid unneeded lower-casing?
private CompoundName(String name, List<String> compounds) {
if (name == null) throw new NullPointerException("Name can not be null");