diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-03-29 12:21:56 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-03-29 12:21:56 +0200 |
commit | e69d6e8f3d8a6504135f6d2733a3a42f6a041ed4 (patch) | |
tree | 046483fb628977f62a66cb660d4a09fcd4302e0d /container-core | |
parent | 13100e8dcc72b7c879727e5d96e1fdfceb2d3bcc (diff) |
Validate query feature tensor types
- Validate tensor feature types when a tensor is set programmatically.
- Add a toShortString for messages containing tensors.
- Consistent and nicer spacing in tensor string forms.
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/src/main/java/com/yahoo/processing/request/Properties.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/main/java/com/yahoo/processing/request/Properties.java b/container-core/src/main/java/com/yahoo/processing/request/Properties.java index cc53442f4d3..08072e83ce4 100644 --- a/container-core/src/main/java/com/yahoo/processing/request/Properties.java +++ b/container-core/src/main/java/com/yahoo/processing/request/Properties.java @@ -251,7 +251,7 @@ public class Properties implements Cloneable { * @throws RuntimeException if no instance in the chain accepted this name-value pair */ public final void set(String name, Object value) { - set(new CompoundName(name), value, Collections.<String,String>emptyMap()); + set(new CompoundName(name), value, Map.of()); } /** |