Skip to content

Commit

Permalink
Refactor ShadowHintDataSourceMappingsFinder
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Nov 4, 2024
1 parent 3d48682 commit cb996dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public final class ShadowHintDataSourceMappingsFinder implements ShadowDataSourc
public Map<String, String> find(final ShadowRule rule) {
ShadowCondition shadowCondition = new ShadowCondition();
return rule.getAllHintShadowAlgorithms().stream().anyMatch(each -> HintShadowAlgorithmDeterminer.isShadow(each, shadowCondition, rule, hintValueContext.isShadow()))
? rule.getAllShadowDataSourceMappings()
? rule.getAllShadowDataSourceMappings()
: Collections.emptyMap();
}
}

0 comments on commit cb996dc

Please sign in to comment.