File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
client/src/main/java/io/split/engine/experiments Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -158,10 +158,8 @@ private Set<String> runWithoutExceptionHandling(FetchOptions options) throws Int
158158 return segments ;
159159 }
160160
161- private boolean checkExitConditions (SplitChange change ) {
162- return ((change .featureFlags .s != _splitCacheProducer .getChangeNumber () || change .featureFlags .t < _splitCacheProducer .getChangeNumber ())
163- || (change .ruleBasedSegments .s != _ruleBasedSegmentCacheProducer .getChangeNumber () ||
164- change .ruleBasedSegments .t < _ruleBasedSegmentCacheProducer .getChangeNumber ()));
161+ private <T > boolean checkExitConditions (ChangeDto <T > change , long cn ) {
162+ return change .s != cn || change .t < cn ;
165163 }
166164
167165 private boolean checkReturnConditions (SplitChange change ) {
You can’t perform that action at this time.
0 commit comments