From 1c681c25d5dd8216a158166acea6a34685771dd1 Mon Sep 17 00:00:00 2001 From: Andrey Belonogov Date: Tue, 9 Jun 2026 13:11:16 -0700 Subject: [PATCH] fix: remove deprecation marker from LDConfig.Builder.plugins The @Deprecated annotation was used only to signal that the plugins API was experimental, not because the method was being replaced. This removes the annotation and the related javadoc note so consumers no longer see a misleading deprecation warning when registering plugins. Co-authored-by: Cursor --- .../src/main/java/com/launchdarkly/sdk/android/LDConfig.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java b/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java index 5b66347f..9056f9dc 100644 --- a/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java +++ b/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/LDConfig.java @@ -515,9 +515,6 @@ public Builder hooks(HooksConfigurationBuilder hooksConfiguration) { } /** - * This is an experimental API and may be removed/changed in the future without notice. It is - * marked as deprecated as Java does not have built in support for an experimental annotation. - * * Sets the SDK's plugins configuration, using a builder. This is normally a obtained from *

* {@link Components#plugins()} ()}, which has methods for setting individual plugin @@ -527,7 +524,6 @@ public Builder hooks(HooksConfigurationBuilder hooksConfiguration) { * @return the main configuration builder * @see Components#plugins() */ - @Deprecated() public Builder plugins(PluginsConfigurationBuilder pluginsConfiguration) { this.pluginsConfigurationBuilder = pluginsConfiguration; return this;