aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2024-05-29 18:06:02 +0200
committerHarald Musum <musum@yahooinc.com>2024-05-29 18:06:02 +0200
commitfbf405dbb0844b68b676507507114b4f00d67c0f (patch)
treea019f802d6b88ef9ae38cdee1fae7ac41949bd6a /config-model/src
parentd6b25c5ce597a5fe7a24c93f5de43c8ccfc52390 (diff)
Add TODO
Diffstat (limited to 'config-model/src')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/documentmodel/DocumentSummary.java1
1 files changed, 1 insertions, 0 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 9e596ae27d2..e48aa0eef7c 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
@@ -122,6 +122,7 @@ public class DocumentSummary extends FieldView {
public void validate(DeployLogger logger) {
for (var inheritedName : inherited) {
var inheritedSummary = owner.getSummary(inheritedName);
+ // TODO: Throw when no one is doing this anymore
if (inheritedName.equals("default"))
logger.logApplicationPackage(WARNING, this + " inherits '" + inheritedName + "', which makes no sense. Remove this inheritance");
else if (inheritedSummary == null )