You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply add @Nested annotation to public static inner classes and remove their static keyword.
The text was updated successfully, but these errors were encountered:
Philzen
changed the title
Add @Nested annotation to public static inner classes and remove static keywordpublic static inner classes migration
Jun 14, 2024
This feature is implemented and available on main via the org.openrewrite.java.testing.junit5.AddMissingNested recipe.
However it should be reviewed that inner classes that don't have both public and static are not annotated / changed, thus leaving this issue open for review now.
Simply add
@Nested
annotation topublic static
inner classes and remove theirstatic
keyword.The text was updated successfully, but these errors were encountered: