Skip to content

Commit 005cdfd

Browse files
committed
Replace users with keys
1 parent 93a9bbd commit 005cdfd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/main/java/io/split/android/client/dtos/Excluded.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
public class Excluded {
88

9-
@SerializedName("users")
10-
private Set<String> mUsers;
9+
@SerializedName("keys")
10+
private Set<String> mKeys;
1111

1212
@SerializedName("segments")
1313
private Set<String> mSegments;
@@ -16,7 +16,7 @@ public Set<String> getSegments() {
1616
return mSegments;
1717
}
1818

19-
public Set<String> getUsers() {
20-
return mUsers;
19+
public Set<String> getKeys() {
20+
return mKeys;
2121
}
2222
}

src/main/java/io/split/android/engine/experiments/ParsedRuleBasedSegment.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
public class ParsedRuleBasedSegment {
77
private final String mName;
8-
private final Set<String> mExcludedUsers;
8+
private final Set<String> mExcludedKeys;
99
private final Set<String> mExcludedSegments;
1010
private final List<ParsedCondition> mParsedConditions;
1111
private final String mTrafficTypeName;
1212
private final long mChangeNumber;
1313

14-
public ParsedRuleBasedSegment(String name, Set<String> excludedUsers, Set<String> excludedSegments, List<ParsedCondition> parsedConditions, String trafficTypeName, long changeNumber) {
14+
public ParsedRuleBasedSegment(String name, Set<String> excludedKeys, Set<String> excludedSegments, List<ParsedCondition> parsedConditions, String trafficTypeName, long changeNumber) {
1515
mName = name;
16-
mExcludedUsers = excludedUsers;
16+
mExcludedKeys = excludedKeys;
1717
mExcludedSegments = excludedSegments;
1818
mParsedConditions = parsedConditions;
1919
mTrafficTypeName = trafficTypeName;
@@ -24,8 +24,8 @@ public String getName() {
2424
return mName;
2525
}
2626

27-
public Set<String> getExcludedUsers() {
28-
return mExcludedUsers;
27+
public Set<String> getExcludedKeys() {
28+
return mExcludedKeys;
2929
}
3030

3131
public Set<String> getExcludedSegments() {

0 commit comments

Comments
 (0)