diff options
author | Jon Bratseth <bratseth@oath.com> | 2019-01-04 15:20:40 +0100 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2019-01-21 15:09:30 +0100 |
commit | 79f7da786489e4e6f5966519e6de12381a07c7a2 (patch) | |
tree | 80dc571d17544bb4196fc33dac96a1ee41afc29c /config-model-api/src/main/java/com/yahoo/config/model/api/ModelFactory.java | |
parent | 21c6924e98b35a93edc3322296a8d7a3bfd39a2c (diff) |
Remove deprecated duplicate Version class
Diffstat (limited to 'config-model-api/src/main/java/com/yahoo/config/model/api/ModelFactory.java')
-rw-r--r-- | config-model-api/src/main/java/com/yahoo/config/model/api/ModelFactory.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/model/api/ModelFactory.java b/config-model-api/src/main/java/com/yahoo/config/model/api/ModelFactory.java index 23782162725..0c4e5087d62 100644 --- a/config-model-api/src/main/java/com/yahoo/config/model/api/ModelFactory.java +++ b/config-model-api/src/main/java/com/yahoo/config/model/api/ModelFactory.java @@ -13,14 +13,7 @@ public interface ModelFactory { * * @return the version of a {@link Model} instance that this factory can create. */ - @SuppressWarnings("deprecation") - default Version version() { // TODO: Remove this default implementationm after December 2018 - return getVersion().toVersion(); - } - - /** @deprecated use and override version(). TODO: Remove this method after December 2018 */ - @Deprecated - default com.yahoo.config.provision.Version getVersion() { return com.yahoo.config.provision.Version.from(version()); } + Version version(); /** * Creates an instance of a {@link Model}. The resulting instance will be used to serve config. No model |