Skip to content

[Experimental] Add rewrite support for RemoveUnusedPrivateMethods & RemoveUnusedImports #20219

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

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

Pankraz76
Copy link

@Pankraz76 Pankraz76 commented Jul 22, 2025

refs:

The code seems to be out of sync considering large changes occurred when actually applying the config/convention:

(Assuming the version bump alone did not make these changes in the headers)

Also assuming that Java files currently have no header check besides Checkstyle. It seems considerable to have the Spot config in one place, giving it Separation of Concerns as well as Single Source of Truth. The file, considering it's over 2k LOC, is complex and hard to handle.

Doing this infrastructure topic repeatedly, I can tell that other projects have simpler configurations, despite possibly having even more in total, forcing them to adopt such a dedicated approach. Still, it's nice to see this project having a good foundation for good developer experience.

image

Copy link
Author

@Pankraz76 Pankraz76 left a comment

Choose a reason for hiding this comment

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

outdated dependencies.

@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=845952a9d6afa783db70bb3b0effaae45ae5542ca2bb7929619e8af49cb634cf
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
Copy link
Author

Choose a reason for hiding this comment

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

does dependabot not check for this?

id "com.github.spotbugs" version '6.0.25' apply false
id 'org.scoverage' version '8.0.3' apply false
id 'com.gradleup.shadow' version '8.3.6' apply false
id 'com.diffplug.spotless' version "6.25.0"
Copy link
Author

Choose a reason for hiding this comment

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

does dependabot not check for this?

@Pankraz76 Pankraz76 marked this pull request as ready for review July 22, 2025 14:55
@github-actions github-actions bot removed the triage PRs from the community label Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants