Skip to content

Commit

Permalink
Remove method not using
Browse files Browse the repository at this point in the history
  • Loading branch information
nmayorsplit committed Dec 1, 2023
1 parent 5424970 commit fdf47e7
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions client/src/main/java/io/split/client/SplitClientImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ private Map<String, SplitResult> getTreatmentsBySetsWithConfigInternal(String ma
return createMapControl(featureFlagNames);
}
}

private Map<String, SplitResult> processEvaluatorResult(Map<String, EvaluatorImp.TreatmentLabelAndChangeNumber> evaluatorResult,
MethodEnum methodEnum, String matchingKey, String bucketingKey, Map<String,
Object> attributes, long initTime){
Expand Down Expand Up @@ -471,6 +470,7 @@ private Map<String, SplitResult> validateBeforeEvaluateByFlagSets(String matchin
}
return null;
}

private Map<String, SplitResult> validateBeforeEvaluate(List<String> featureFlagNames, String matchingKey, MethodEnum methodEnum,
String bucketingKey) {
if (_container.isDestroyed()) {
Expand Down Expand Up @@ -500,16 +500,6 @@ private Set<String> filterSetsAreInConfig(Set<String> sets, MethodEnum methodEnu
}
return setsToReturn;
}

private List<String> getAllFlags(Set<String> sets) {
Map<String, HashSet<String>> namesBySets = _splitCacheConsumer.getNamesByFlagSets(new ArrayList<>(sets));
HashSet<String> flags = new HashSet<>();
for (String set: namesBySets.keySet()) {
flags.addAll(namesBySets.get(set));
}
return new ArrayList<>(flags);
}

private void recordStats(String matchingKey, String bucketingKey, String featureFlagName, long start, String result,
String operation, String label, Long changeNumber, Map<String, Object> attributes) {
try {
Expand Down

0 comments on commit fdf47e7

Please sign in to comment.