Skip to content

Commit

Permalink
Remove jetbrains notnull
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurens-W committed Sep 25, 2024
1 parent d93762b commit 1aa0d1a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package org.openrewrite.java.spring.boot3;

import org.jetbrains.annotations.NotNull;
import org.openrewrite.ExecutionContext;
import org.openrewrite.Preconditions;
import org.openrewrite.Recipe;
Expand Down Expand Up @@ -256,7 +255,7 @@ private Statement refactorTagsUsage(ExecutionContext ctx, org.openrewrite.java.t
return original;
}

private @NotNull Statement getMultiKeyValueStatement(ExecutionContext ctx, CoordinateBuilder.Statement coords, List<J> args, J.Identifier returnIdentifier) {
private Statement getMultiKeyValueStatement(ExecutionContext ctx, CoordinateBuilder.Statement coords, List<J> args, J.Identifier returnIdentifier) {
String keyValueVarArg = "#{any(io.micrometer.common.KeyValue)}";
String keyValueVarArgsCombined = String.join(", ", Collections.nCopies(args.size(), keyValueVarArg));
return JavaTemplate.builder("#{any()}.and(" + keyValueVarArgsCombined + ")")
Expand Down

0 comments on commit 1aa0d1a

Please sign in to comment.