diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-01-31 12:31:58 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-01-31 12:31:58 +0100 |
commit | e94d28dd48c5ac5f40885d7d64cd8480bebba3c8 (patch) | |
tree | 1e4f17f16ed69432f7c11058d19b38ce3581951c /config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java | |
parent | a44edeba9f38c38c431d7b9b6e1ac454e2a0e610 (diff) |
Nonfunctional changes only
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java b/config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java index 3b68e0199a9..cd65c6ef761 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/RankProfile.java @@ -708,7 +708,8 @@ public class RankProfile implements Serializable, Cloneable { private void checkNameCollisions(Map<String, Macro> macros, Map<String, Value> constants) { for (Map.Entry<String, Macro> macroEntry : macros.entrySet()) { if (constants.get(macroEntry.getKey()) != null) - throw new IllegalArgumentException("Cannot have both a constant and macro named '" + macroEntry.getKey() + "'"); + throw new IllegalArgumentException("Cannot have both a constant and macro named '" + + macroEntry.getKey() + "'"); } } |