Skip to content

Commit fdf47e7

Browse files
committed
Remove method not using
1 parent 5424970 commit fdf47e7

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

client/src/main/java/io/split/client/SplitClientImpl.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ private Map<String, SplitResult> getTreatmentsBySetsWithConfigInternal(String ma
432432
return createMapControl(featureFlagNames);
433433
}
434434
}
435-
436435
private Map<String, SplitResult> processEvaluatorResult(Map<String, EvaluatorImp.TreatmentLabelAndChangeNumber> evaluatorResult,
437436
MethodEnum methodEnum, String matchingKey, String bucketingKey, Map<String,
438437
Object> attributes, long initTime){
@@ -471,6 +470,7 @@ private Map<String, SplitResult> validateBeforeEvaluateByFlagSets(String matchin
471470
}
472471
return null;
473472
}
473+
474474
private Map<String, SplitResult> validateBeforeEvaluate(List<String> featureFlagNames, String matchingKey, MethodEnum methodEnum,
475475
String bucketingKey) {
476476
if (_container.isDestroyed()) {
@@ -500,16 +500,6 @@ private Set<String> filterSetsAreInConfig(Set<String> sets, MethodEnum methodEnu
500500
}
501501
return setsToReturn;
502502
}
503-
504-
private List<String> getAllFlags(Set<String> sets) {
505-
Map<String, HashSet<String>> namesBySets = _splitCacheConsumer.getNamesByFlagSets(new ArrayList<>(sets));
506-
HashSet<String> flags = new HashSet<>();
507-
for (String set: namesBySets.keySet()) {
508-
flags.addAll(namesBySets.get(set));
509-
}
510-
return new ArrayList<>(flags);
511-
}
512-
513503
private void recordStats(String matchingKey, String bucketingKey, String featureFlagName, long start, String result,
514504
String operation, String label, Long changeNumber, Map<String, Object> attributes) {
515505
try {

0 commit comments

Comments
 (0)