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
It is very common in this codebase to avoid the first empty line separating the class declaration from the first fields or methods. However, this practice goes against the Java Code Conventions (JCC), so we want to address it in our local project.
punkratz312
changed the title
Format empty lines misaligning with Java Code Conventions.
Format empty lines misaligning with Java Code Conventions
Oct 14, 2024
hi @punkratz312 ; sounds like a fine case for a recipe indeed to put at least a single blank line before the first statement in a class body. Having that be available as a recipe also ensures we can apply that once across all 50+ recipe modules through app.moderne.io
It is very common in this codebase to avoid the first empty line separating the class declaration from the first fields or methods. However, this practice goes against the Java Code Conventions (JCC), so we want to address it in our local project.
https://github.com/openrewrite/rewrite-static-analysis/pull/369/files
The text was updated successfully, but these errors were encountered: