Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused Lombok logger fields recipe #88

Open
timtebeek opened this issue Jan 11, 2023 · 0 comments
Open

Remove unused Lombok logger fields recipe #88

timtebeek opened this issue Jan 11, 2023 · 0 comments
Labels
recipe Recipe Requested

Comments

@timtebeek
Copy link
Contributor

Pet peeve: IDE warnings about unused loggers added through Lombok annotations. While we already have Remove unused private fields, this does not take into account loggers added through for instance @lombok.extern.slf4j.Slf4j.

Implementation wise we might need to support the Lombok log annotations first before we're able to determine if they are being used. And support might also need to include alternative values for lombok.log.fieldName.

@timtebeek timtebeek added the recipe Recipe Requested label Jan 11, 2023
@sambsnyd sambsnyd moved this to Backlog in OpenRewrite Jan 11, 2023
@timtebeek timtebeek moved this from Backlog to Recipes Wanted in OpenRewrite May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe Recipe Requested
Projects
Status: Recipes Wanted
Development

No branches or pull requests

1 participant