Skip to content

Commit 9f4f2ee

Browse files
authored
fix: making Selector make public (#102)
1 parent 0bfd3ed commit 9f4f2ee

File tree

1 file changed

+8
-1
lines changed
  • lib/shared/internal/src/main/java/com/launchdarkly/sdk/internal/fdv2/sources

1 file changed

+8
-1
lines changed

lib/shared/internal/src/main/java/com/launchdarkly/sdk/internal/fdv2/sources/Selector.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ static Selector empty() {
4545
return new Selector(0, null, true);
4646
}
4747

48-
static Selector make(int version, String state) {
48+
/**
49+
* Creates a new Selector with the given version and state.
50+
*
51+
* @param version the version number
52+
* @param state the state identifier
53+
* @return a new Selector instance
54+
*/
55+
public static Selector make(int version, String state) {
4956
return new Selector(version, state, false);
5057
}
5158

0 commit comments

Comments
 (0)