Skip to content

Commit 87b49a8

Browse files
committed
Correct incorrect AnnotationMatcher pattern
1 parent 4d6837d commit 87b49a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/spring/boot3/ConfigurationOverEnableSecurity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class ConfigurationOverEnableSecurity extends Recipe {
4646

4747
private static final List<String> EXCLUSIONS = singletonList("org.springframework.security.config.annotation.rsocket.EnableRSocketSecurity");
4848

49-
private static final String ENABLE_SECURITY_ANNOTATION_PATTERN = "@org.springframework.security.config.annotation..*.Enable.*Security";
49+
private static final String ENABLE_SECURITY_ANNOTATION_PATTERN = "@org.springframework.security.config.annotation..*.Enable*Security";
5050

5151
private static final AnnotationMatcher SECURITY_ANNOTATION_MATCHER = new AnnotationMatcher(ENABLE_SECURITY_ANNOTATION_PATTERN, true);
5252

0 commit comments

Comments
 (0)