diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-05-29 15:32:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 15:32:26 +0200 |
commit | 93b8364a488fd2ae10623a8d7d91cdb5e1e40d4a (patch) | |
tree | f443367afd433adba3abdb1d380c6f2a2e03049b /config-model/src/main/java/com | |
parent | 651ab0b6055d62a9b4215d0c35bb7f1e8346843f (diff) | |
parent | ad6fa8f9d5b9ba68779a2fe87faf5c71acfc0065 (diff) |
Merge pull request #31333 from vespa-engine/hmusum/throw-if-document-summary-inherits-non-existen-summary
Add test showing that inheriting a non-existent document summary giveā¦
Diffstat (limited to 'config-model/src/main/java/com')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/documentmodel/DocumentSummary.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/documentmodel/DocumentSummary.java b/config-model/src/main/java/com/yahoo/vespa/documentmodel/DocumentSummary.java index 10de46ae6d8..2f61c1c631d 100644 --- a/config-model/src/main/java/com/yahoo/vespa/documentmodel/DocumentSummary.java +++ b/config-model/src/main/java/com/yahoo/vespa/documentmodel/DocumentSummary.java @@ -124,10 +124,9 @@ public class DocumentSummary extends FieldView { if (inheritedSummary == null) { // TODO Vespa 9: Throw IllegalArgumentException instead logger.logApplicationPackage(Level.WARNING, - this + " inherits '" + inheritedName + "' but this" + " is not present in " + owner); + this + " inherits '" + inheritedName + "' but this is not present in " + owner); } } - } } |