Skip to content

Commit

Permalink
Modified the RemovedSubjectMethods recipe (#545)
Browse files Browse the repository at this point in the history
Co-authored-by: bhavanapidapa <[email protected]>
  • Loading branch information
BhavanaPidapa and bhavanapidapa authored Sep 7, 2024
1 parent 4c86d58 commit 72e939d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/rewrite/java-version-21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ recipeList:
methodPattern: javax.security.auth.Subject getSubject()
newMethodName: current
- org.openrewrite.java.ChangeMethodName:
methodPattern: javax.security.auth.Subject callAs()
newMethodName: doAs
methodPattern: javax.security.auth.Subject doAs()
newMethodName: callAs
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.migrate.DeleteDeprecatedFinalize
Expand Down

0 comments on commit 72e939d

Please sign in to comment.