File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
main/java/dev/openfeature/contrib/providers/statsig
test/java/dev/openfeature/contrib/providers/statsig Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -77,4 +77,9 @@ for more information.
7777## Release Notes
7878
7979### 0.3.0
80- Migrated to Java Core according to [ Migration guide] ( https://docs.statsig.com/server-core/migration-guides/java#java-migration-steps ) .
80+ - Migrated to Java Core according to [ Migration guide] ( https://docs.statsig.com/server-core/migration-guides/java#java-migration-steps ) .
81+
82+ The provider usage is basically unchanged, the underlying implementation is changed.
83+ As the initialization code may change, can refer to the migration guide for details.
84+
85+ - group and secondaryExposures usage removed.
Original file line number Diff line number Diff line change @@ -229,8 +229,10 @@ private static FeatureConfig parseFeatureConfig(EvaluationContext ctx) {
229229 @ Override
230230 public void shutdown () {
231231 log .info ("shutdown begin" );
232- CompletableFuture <Void > shutdownFuture = statsig .shutdown ();
233- shutdownFuture .get ();
232+ if (statsig != null ) {
233+ CompletableFuture <Void > shutdownFuture = statsig .shutdown ();
234+ shutdownFuture .get ();
235+ }
234236 log .info ("shutdown end" );
235237 }
236238
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ class StatsigProviderTest {
6161 static void setUp () {
6262 String sdkKey = "test" ;
6363 StatsigOptions statsigOptions = new StatsigOptions .Builder ()
64- // .setLocalMode(true)
6564 .build ();
6665 StatsigProviderConfig statsigProviderConfig = StatsigProviderConfig .builder ()
6766 .sdkKey (sdkKey )
You can’t perform that action at this time.
0 commit comments