aboutsummaryrefslogtreecommitdiffstats
path: root/config-model-api/src/main/java/com/yahoo/config/model/api/ModelFactory.java
diff options
context:
space:
mode:
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.java9
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