aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-05-29 15:32:26 +0200
committerGitHub <noreply@github.com>2024-05-29 15:32:26 +0200
commit93b8364a488fd2ae10623a8d7d91cdb5e1e40d4a (patch)
treef443367afd433adba3abdb1d380c6f2a2e03049b /config-model/src/main/java/com
parent651ab0b6055d62a9b4215d0c35bb7f1e8346843f (diff)
parentad6fa8f9d5b9ba68779a2fe87faf5c71acfc0065 (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.java3
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);
}
}
-
}
}