summaryrefslogtreecommitdiffstats
path: root/linguistics
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@vespa.ai>2024-01-20 14:06:37 +0100
committerJon Bratseth <bratseth@vespa.ai>2024-01-20 14:06:37 +0100
commitab2b393b3e6bbe7b773124e03fe1ee9c6c75fc76 (patch)
tree84fcdb56da50e85bb5e019dbb40eb491092f83c0 /linguistics
parentadf85e21711e8f1b184309986911b86ed92be89e (diff)
ChainedMap can't be copied
Diffstat (limited to 'linguistics')
-rw-r--r--linguistics/src/main/java/com/yahoo/language/process/Embedder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistics/src/main/java/com/yahoo/language/process/Embedder.java b/linguistics/src/main/java/com/yahoo/language/process/Embedder.java
index d9d2256d0c1..f6fdb86d01f 100644
--- a/linguistics/src/main/java/com/yahoo/language/process/Embedder.java
+++ b/linguistics/src/main/java/com/yahoo/language/process/Embedder.java
@@ -144,7 +144,7 @@ public interface Embedder {
public Map<String, String> getContextValues() { return contextValues; }
public Context setContextValues(Map<String, String> contextValues) {
- this.contextValues = Map.copyOf(contextValues);
+ this.contextValues = contextValues;
return this;
}