Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzy11 committed Aug 13, 2024
1 parent 2ced6c1 commit 403a7b3
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -890,13 +890,15 @@ public boolean doesDictionaryRelationRulesForReflexApply(Test potentialReflexTes

private boolean doesNumericRulesForReflexApply(Test potentialReflexTest, Result potentialTriggerResult) {
List<TestReflex> reflexesForResult = reflexResolver.getTestReflexesForResult(potentialTriggerResult);
return reflexesForResult.stream().anyMatch(test -> test.getAddedTest().getId().equals(potentialReflexTest.getId())
&& applyNumericRelationRulesForReflex(test, potentialTriggerResult));
return reflexesForResult.stream()
.anyMatch(test -> test.getAddedTest().getId().equals(potentialReflexTest.getId())
&& applyNumericRelationRulesForReflex(test, potentialTriggerResult));
}

private boolean doesGenericRulesForReflexApply(Test potentialReflexTest, Result potentialTriggerResult) {
List<TestReflex> reflexesForResult = reflexResolver.getTestReflexesForResult(potentialTriggerResult);
return reflexesForResult.stream().anyMatch(test -> test.getAddedTest().getId().equals(potentialReflexTest.getId())
&& applyTextRelationRulesForReflex(test, potentialTriggerResult));
return reflexesForResult.stream()
.anyMatch(test -> test.getAddedTest().getId().equals(potentialReflexTest.getId())
&& applyTextRelationRulesForReflex(test, potentialTriggerResult));
}
}

0 comments on commit 403a7b3

Please sign in to comment.