Skip to content

Commit 1b9b615

Browse files
scordiotimtebeek
andauthored
Set acceptTransitive to true for JSpecify recipes (#761)
Co-authored-by: Tim te Beek <tim@moderne.io>
1 parent 867b956 commit 1b9b615

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/resources/META-INF/rewrite/jspecify.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ recipeList:
5555
artifactId: jspecify
5656
version: latest.release
5757
onlyIfUsing: javax.annotation.*ull*
58+
acceptTransitive: true
5859
- org.openrewrite.java.ChangeType:
5960
oldFullyQualifiedTypeName: javax.annotation.Nullable
6061
newFullyQualifiedTypeName: org.jspecify.annotations.Nullable
@@ -80,6 +81,7 @@ recipeList:
8081
artifactId: jspecify
8182
version: 1.0.0
8283
onlyIfUsing: jakarta.annotation.*ull*
84+
acceptTransitive: true
8385
- org.openrewrite.java.ChangeType:
8486
oldFullyQualifiedTypeName: jakarta.annotation.Nullable
8587
newFullyQualifiedTypeName: org.jspecify.annotations.Nullable
@@ -101,6 +103,7 @@ recipeList:
101103
artifactId: jspecify
102104
version: 1.0.0
103105
onlyIfUsing: org.jetbrains.annotations.*ull*
106+
acceptTransitive: true
104107
- org.openrewrite.java.ChangeType:
105108
oldFullyQualifiedTypeName: org.jetbrains.annotations.Nullable
106109
newFullyQualifiedTypeName: org.jspecify.annotations.Nullable
@@ -122,6 +125,7 @@ recipeList:
122125
artifactId: jspecify
123126
version: 1.0.0
124127
onlyIfUsing: org.springframework.lang.*ull*
128+
acceptTransitive: true
125129
- org.openrewrite.java.ChangeType:
126130
oldFullyQualifiedTypeName: org.springframework.lang.Nullable
127131
newFullyQualifiedTypeName: org.jspecify.annotations.Nullable

0 commit comments

Comments
 (0)