aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-02-04 07:41:31 +0100
committerGitHub <noreply@github.com>2020-02-04 07:41:31 +0100
commit72cd1c70fdbe01968ef5a6ed6e05f5fa0ba4d319 (patch)
tree1552b25d1eb0233bfb1cdc8c36adf8190302af52 /container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java
parent17e572d4dad3c9e5040544072dbdc9f7a703e7bd (diff)
Revert "Bratseth/anonymous query profile types take 2"
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java b/container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java
index 6c30f1a8b05..b8290fa092b 100644
--- a/container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java
+++ b/container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java
@@ -97,7 +97,7 @@ public class FieldDescription implements Comparable<FieldDescription> {
this.type = type;
// Forbidden until we can figure out the right semantics
- if (name.isCompound() && ! aliases.isEmpty()) throw new IllegalArgumentException("Aliases are not allowed with compound names");
+ if (name.isCompound() && ! aliases.isEmpty()) throw new IllegalArgumentException("Aliases is not allowed with compound names");
this.aliases = ImmutableList.copyOf(aliases);
this.mandatory = mandatory;