Skip to content

[draft] Remove Spring annotations if they repeating in subclasses #698

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

arodionov
Copy link

What's changed?

What's your motivation?

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@arodionov arodionov self-assigned this Apr 18, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Apr 18, 2025
arodionov and others added 3 commits April 23, 2025 10:08
…tRepeatSpringAnnotationsInSubclassesTest.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@arodionov arodionov force-pushed the remove-repeating-annotations branch from 985dea6 to 2ea2faa Compare April 24, 2025 07:51
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/main/java/org/openrewrite/java/spring/security5/WebSecurityConfigurerAdapter.java
    • lines 21-21

@timtebeek
Copy link
Contributor

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • src/main/java/org/openrewrite/java/spring/security5/WebSecurityConfigurerAdapter.java
    • lines 21-21

@timtebeek
Copy link
Contributor

As discussed we'll park this for now; no need to implement a partial solution when we're blocked on a full solution.

@arodionov arodionov moved this from In Progress to Backlog in OpenRewrite Apr 24, 2025
@timtebeek timtebeek added the recipe Recipe requested label Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe Recipe requested
Projects
Status: Backlog
2 participants