diff --git a/src/main/java/org/openelisglobal/testreflex/action/util/TestReflexUtil.java b/src/main/java/org/openelisglobal/testreflex/action/util/TestReflexUtil.java index d02f64d0e0..b0433aaa80 100644 --- a/src/main/java/org/openelisglobal/testreflex/action/util/TestReflexUtil.java +++ b/src/main/java/org/openelisglobal/testreflex/action/util/TestReflexUtil.java @@ -890,13 +890,15 @@ public boolean doesDictionaryRelationRulesForReflexApply(Test potentialReflexTes private boolean doesNumericRulesForReflexApply(Test potentialReflexTest, Result potentialTriggerResult) { List 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 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)); } }