Skip to content

Commit eff65fd

Browse files
committed
bot comments
1 parent 7dc1168 commit eff65fd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/sdk/server/src/main/java/com/launchdarkly/sdk/server/integrations/TestData.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ public static final class FlagBuilder {
281281
this.on = from.on;
282282
this.fallthroughVariation = from.fallthroughVariation;
283283
this.variations = new CopyOnWriteArrayList<>(from.variations);
284+
this.samplingRatio = from.samplingRatio;
285+
this.migrationCheckRatio = from.migrationCheckRatio;
284286
for (ContextKind contextKind: from.targets.keySet()) {
285287
this.targets.put(contextKind, new TreeMap<>(from.targets.get(contextKind)));
286288
}

lib/sdk/server/src/main/java/com/launchdarkly/sdk/server/integrations/TestDataV2.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,6 @@ public TestDataV2 update(TestData.FlagBuilder flagBuilder) {
180180
* synchronizer is having problems (for example, a network failure interrupting the streaming connection). It
181181
* does not actually stop the {@code TestDataV2} synchronizer from working, so even if you have simulated
182182
* an outage, calling {@link #update(TestData.FlagBuilder)} will still send updates.
183-
* <p>
184-
* The mapping from legacy {@link DataSourceStatusProvider.State} to FDv2 status results matches
185-
* {@link com.launchdarkly.sdk.server.DataSourceSynchronizerAdapter}: OFF with error → terminalError,
186-
* OFF with null → shutdown, INTERRUPTED → interrupted, VALID/INITIALIZING → no event.
187183
*
188184
* @param newState one of the constants defined by {@link com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State}
189185
* @param newError an {@link com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo} instance,

0 commit comments

Comments
 (0)