diff options
author | Harald Musum <musum@oath.com> | 2018-12-07 08:30:00 +0100 |
---|---|---|
committer | Harald Musum <musum@oath.com> | 2018-12-07 08:30:00 +0100 |
commit | a1c3760537e921ad921b07082f421a22338832fc (patch) | |
tree | cf27aa04091761f6732e7f85d5ea9e28f42c7716 /config-model-api | |
parent | 1dde634c20695af0cb5e90e1d97d2339c90e5495 (diff) |
Remove unused constructor
Diffstat (limited to 'config-model-api')
-rw-r--r-- | config-model-api/src/main/java/com/yahoo/config/model/api/SuperModel.java | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/model/api/SuperModel.java b/config-model-api/src/main/java/com/yahoo/config/model/api/SuperModel.java index 31a1c929a71..1735e08c930 100644 --- a/config-model-api/src/main/java/com/yahoo/config/model/api/SuperModel.java +++ b/config-model-api/src/main/java/com/yahoo/config/model/api/SuperModel.java @@ -15,8 +15,7 @@ import java.util.Optional; import java.util.Set; /** - * The SuperModel contains the ApplicationInfo of all active applications (applications whose configs have been - * activated/reloaded and not yet removed). + * The SuperModel contains the ApplicationInfo of all active applications */ public class SuperModel { @@ -30,14 +29,6 @@ public class SuperModel { this.models = models; } - // TODO: The ignored parameter is just to circumvent the fact that you cannot have - // two constructors with same type erasure, the above will be removed and this one can - // be fixed - // TODO: Remove when oldest model used is 6.315 or newer - public SuperModel(Map<ApplicationId, ApplicationInfo> models, boolean ignored) { - this.models = models; - } - public Map<TenantName, Set<ApplicationInfo>> getModelsPerTenant() { Map<TenantName, Set<ApplicationInfo>> newModels = new LinkedHashMap<>(); |