summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--container-core/src/main/java/com/yahoo/processing/request/CompoundName.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/main/java/com/yahoo/processing/request/CompoundName.java b/container-core/src/main/java/com/yahoo/processing/request/CompoundName.java
index c5ab9f34998..80a6ff1e4bf 100644
--- a/container-core/src/main/java/com/yahoo/processing/request/CompoundName.java
+++ b/container-core/src/main/java/com/yahoo/processing/request/CompoundName.java
@@ -97,7 +97,7 @@ public final class CompoundName {
if (end == start) throw new IllegalArgumentException("'" + name + "' is not a legal compound name. " +
"Consecutive, leading or trailing dots are not allowed.");
String subName = this.name.substring(start, end);
- CompoundName cached = useCache ? cache.get(subName) : null;
+ CompoundName cached = cache.get(subName);
children[j] = cached != null ? cached
: new CompoundName(subName,
this.lowerCasedName.substring(start, end),