diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-11-02 12:40:13 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-11-02 12:40:13 +0100 |
commit | d86b5a0fe4388c105144db08ba01e79f5410f1df (patch) | |
tree | 151184f982abf3aeef44c0745de1f7abc9ddeaa4 /config-model-api | |
parent | 78c288b94c158d58ded884aa5592cf9d1f8f1b32 (diff) |
Assume document type is always present after validation is complete
Diffstat (limited to 'config-model-api')
-rw-r--r-- | config-model-api/src/main/java/com/yahoo/config/model/api/ConfigChangeReindexAction.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/model/api/ConfigChangeReindexAction.java b/config-model-api/src/main/java/com/yahoo/config/model/api/ConfigChangeReindexAction.java index d8ca3369874..085638e31ff 100644 --- a/config-model-api/src/main/java/com/yahoo/config/model/api/ConfigChangeReindexAction.java +++ b/config-model-api/src/main/java/com/yahoo/config/model/api/ConfigChangeReindexAction.java @@ -1,8 +1,6 @@ // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.model.api; -import java.util.Optional; - /** * Represents an action to re-index a document type in order to handle a config change. * @@ -15,6 +13,6 @@ public interface ConfigChangeReindexAction extends ConfigChangeAction { /** @return name identifying this kind of change, used to identify names which should be allowed */ String name(); - /** @return name of the document type that must be re-indexed, or empty if all document types */ - Optional<String> getDocumentType(); + /** @return name of the document type that must be re-indexed */ + String getDocumentType(); } |