Skip to content

Commit

Permalink
return null
Browse files Browse the repository at this point in the history
  • Loading branch information
saxenakshitiz committed Jun 11, 2024
1 parent 4e3282f commit ca0e7a6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ private List<TokenExtractionRule> convertTokenExtractionRules(
.map(
rule ->
new ConvertedTokenExtractionRule(
rule.getKey(), rule.getAlias(), rule.getRegexCapture()))
rule.getKey(),
rule.hasAlias() ? rule.getAlias() : null,
rule.hasRegexCapture() ? rule.getRegexCapture() : null))
.collect(Collectors.toList());
}

Expand Down

0 comments on commit ca0e7a6

Please sign in to comment.