Skip to content

Commit

Permalink
Stop NoMutableStaticFieldsInRecipes suggestions on `ChainStringBuil…
Browse files Browse the repository at this point in the history
…derAppendCalls.additiveBinaryTemplate`
  • Loading branch information
timtebeek committed Oct 13, 2024
1 parent ae3f1d0 commit 2163f0f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

public class ChainStringBuilderAppendCalls extends Recipe {
private static final MethodMatcher STRING_BUILDER_APPEND = new MethodMatcher("java.lang.StringBuilder append(String)");
@SuppressWarnings("ALL") // Stop NoMutableStaticFieldsInRecipes from suggesting to remove this mutable static field
private static J.Binary additiveBinaryTemplate = null;

@Override
Expand Down

0 comments on commit 2163f0f

Please sign in to comment.