Skip to content

Commit

Permalink
Adjust ReplaceStringLiteralWithConstantTest calls
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Feb 20, 2025
1 parent 147eff5 commit ba42af1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public TreeVisitor<?, ExecutionContext> getVisitor(AtomicBoolean acc) {
public J preVisit(J tree, ExecutionContext ctx) {
stopAfterPreVisit();
for (String header : HEADERS) {
doAfterVisit(new ReplaceStringLiteralWithConstant("org.springframework.http.HttpHeaders." + header).getVisitor());
doAfterVisit(new ReplaceStringLiteralWithConstant(null, "org.springframework.http.HttpHeaders." + header).getVisitor());
}
return tree;
}
Expand Down

0 comments on commit ba42af1

Please sign in to comment.