Skip to content

Commit d3b6630

Browse files
committed
ci fixes
1 parent 0687655 commit d3b6630

File tree

4 files changed

+25
-43
lines changed

4 files changed

+25
-43
lines changed

lib/sdk/server/src/main/java/com/launchdarkly/sdk/server/subsystems/DataStoreTypes.java

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ public String toString() {
259259
*
260260
* @param <TDescriptor> will be {@link ItemDescriptor} or {@link SerializedItemDescriptor}
261261
*/
262-
@Deprecated("Use DataSet instead. The term Full was too specific")
263262
public static final class FullDataSet<TDescriptor> {
264263
private final Iterable<Map.Entry<DataKind, KeyedItems<TDescriptor>>> data;
265264

@@ -291,48 +290,6 @@ public int hashCode() {
291290
return data.hashCode();
292291
}
293292
}
294-
295-
/**
296-
* Wrapper for a set of storable items being passed to a data store.
297-
* <p>
298-
* Since the generic type signature for the data set is somewhat complicated (it is an ordered
299-
* list of key-value pairs where each key is a {@link DataKind}, and each value is another ordered
300-
* list of key-value pairs for the individual data items), this type simplifies the declaration of
301-
* data store methods and makes it easier to see what the type represents.
302-
*
303-
* @param <TDescriptor> will be {@link ItemDescriptor} or {@link SerializedItemDescriptor}
304-
*/
305-
public static final class DataSet<TDescriptor> {
306-
private final Iterable<Map.Entry<DataKind, KeyedItems<TDescriptor>>> data;
307-
308-
/**
309-
* Returns the wrapped data set.
310-
*
311-
* @return an enumeration of key-value pairs; may be empty, but will not be null
312-
*/
313-
public Iterable<Map.Entry<DataKind, KeyedItems<TDescriptor>>> getData() {
314-
return data;
315-
}
316-
317-
/**
318-
* Constructs a new instance.
319-
*
320-
* @param data the data set
321-
*/
322-
public DataSet(Iterable<Map.Entry<DataKind, KeyedItems<TDescriptor>>> data) {
323-
this.data = data == null ? ImmutableList.of(): data;
324-
}
325-
326-
@Override
327-
public boolean equals(Object o) {
328-
return o instanceof FullDataSet<?> && data.equals(((FullDataSet<?>)o).data);
329-
}
330-
331-
@Override
332-
public int hashCode() {
333-
return data.hashCode();
334-
}
335-
}
336293

337294
/**
338295
* Wrapper for a set of storable items being passed to a data store, within a single
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/**
2+
* This package contains FDv2 payload processing functionality.
3+
* <p>
4+
* All types in this package are for internal LaunchDarkly use only, and are subject to change.
5+
* They are not part of the public supported API of the SDKs, and they should not be referenced
6+
* by application code. They have public scope only because they need to be available to
7+
* LaunchDarkly SDK code in other packages.
8+
*/
9+
package com.launchdarkly.sdk.internal.fdv2.processor;
10+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/**
2+
* This package contains FDv2 protocol types and data structures.
3+
* <p>
4+
* All types in this package are for internal LaunchDarkly use only, and are subject to change.
5+
* They are not part of the public supported API of the SDKs, and they should not be referenced
6+
* by application code. They have public scope only because they need to be available to
7+
* LaunchDarkly SDK code in other packages.
8+
*/
9+
package com.launchdarkly.sdk.internal.fdv2.protocol;
10+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* Test classes and methods for testing FDv2 payload processing functionality.
3+
*/
4+
package com.launchdarkly.sdk.internal.fdv2.processor;
5+

0 commit comments

Comments
 (0)