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

UnnecessaryModifier misses the opportunity to remove redundant modifiers from nested annotations, enums #843

Closed
mches opened this issue Oct 8, 2024 · 1 comment

Comments

@mches
Copy link
Contributor

mches commented Oct 8, 2024

UnnecessaryModifier misses the opportunity to remove redundant modifiers from nested annotations, enums

e.g.

public interface Parent {
  public static abstract @interface MyAnnotation {}

  public static enum MyEnum {}
}

and

public @interface Parent {
  public static abstract @interface MyAnnotation {}

  public static enum MyEnum {}
}
mches added a commit to markitect-dev/cleanthat that referenced this issue Oct 8, 2024
mches added a commit to markitect-dev/cleanthat that referenced this issue Oct 8, 2024
mches added a commit to markitect-dev/cleanthat that referenced this issue Oct 8, 2024
mches added a commit to markitect-dev/cleanthat that referenced this issue Oct 8, 2024
mches added a commit to markitect-dev/cleanthat that referenced this issue Oct 8, 2024
@blacelle
Copy link
Member

blacelle commented Oct 8, 2024

Thanks for the report and the fix. This has been released in Cleanthat 1.22 ; it shall be available in m2central within minutes/hours.

@blacelle blacelle closed this as completed Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants