From 7bc757ef1e1aa47042c8f58f9fc9ad38126388c4 Mon Sep 17 00:00:00 2001 From: Tor Brede Vekterli Date: Mon, 4 Apr 2022 17:12:45 +0200 Subject: Deprecate load types from Java APIs Load types have not been used in practice for years, and supporting them in backend metrics etc. has long since been lacking. Prepare for removing these on Vespa 8. Most callsites are unchanged, aside from presumed safe changes such as constructors used by dependency injection. Have added new overloads without load types where these did not already exist to allow for an orderly transition. --- config-model/src/main/java/com/yahoo/vespa/model/clients/Clients.java | 1 + 1 file changed, 1 insertion(+) (limited to 'config-model') diff --git a/config-model/src/main/java/com/yahoo/vespa/model/clients/Clients.java b/config-model/src/main/java/com/yahoo/vespa/model/clients/Clients.java index 47bcc64f663..8b8b9e5f40d 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/clients/Clients.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/clients/Clients.java @@ -13,6 +13,7 @@ import com.yahoo.documentapi.messagebus.loadtypes.LoadTypeSet; * * @author Gunnar Gauslaa Bergem */ +@SuppressWarnings("removal") // TODO: Remove on Vespa 8 public class Clients extends ConfigModel { private static final long serialVersionUID = 1L; -- cgit v1.2.3