Skip to content

Add ExplicitTypeToVar recipe to transform explicit type declarations to var keyword.#3404

Merged
motlin merged 2 commits intomainfrom
openrewrite
Jan 28, 2026
Merged

Add ExplicitTypeToVar recipe to transform explicit type declarations to var keyword.#3404
motlin merged 2 commits intomainfrom
openrewrite

Conversation

@motlin
Copy link
Copy Markdown
Collaborator

@motlin motlin commented Jan 27, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 27, 2026

Jacoco Code Coverage

Overall Project 76.44% -0.16% 🍏
Files changed 84.32% 🍏

Module Coverage
Liftwizard Logging Uncaught Exception Handler 100% 🍏
Liftwizard Common-Pool Health Check 100% 🍏
Liftwizard versions of Openrewrite rules 82.65% -0.06% 🍏
Liftwizard Reladomo Rollback 72.87% -1.33% 🍏
Liftwizard JUnit Extension: Liquibase Migrations 64.45% -3.91% 🍏
Liftwizard Example Application 49.93% 🍏
Liftwizard Config Factory: Impersonation Auth Filter 43.59% -12.82% 🍏
Liftwizard Config Factory: Header Auth Filter 40.73% -6.85% 🍏
Liftwizard Managed File System 22.37% 🍏
Liftwizard Config: Executor Service 14.78% -1.34% 🍏
Files
Module File Coverage
Liftwizard Logging Uncaught Exception Handler Slf4jUncaughtExceptionHandler.java 100% 🍏
Liftwizard Common-Pool Health Check CommonPoolHealthCheck.java 100% 🍏
Liftwizard versions of Openrewrite rules ExplicitTypeToVar.java 93.43% -6.57% 🍏
Liftwizard Reladomo Rollback ReladomoRollbackCommand.java 0% -7.14% 🍏
Liftwizard JUnit Extension: Liquibase Migrations LiquibaseRollbackVerifier.java 91.67% 🍏
LiquibaseTestExtension.java 0% -13.16% 🍏
Liftwizard Example Application PeopleResource.java 100% 🍏
PersonResource.java 100% 🍏
HelloWorldApplication.java 97.22% 🍏
Liftwizard Config Factory: Impersonation Auth Filter ImpersonationAuthenticator.java 27.27% -45.45% 🍏
Liftwizard Config Factory: Header Auth Filter HeaderAuthenticator.java 30.99% -14.08% 🍏
JSONUnauthorizedHandler.java 8.33% -19.44% 🍏
Liftwizard Managed File System ManagedFileSystem.java 22.37% 🍏
Liftwizard Config: Executor Service NoopScheduledExecutorServiceFactory.java 10.71% -17.86% 🍏

@motlin motlin force-pushed the openrewrite branch 7 times, most recently from d3516f9 to 37541a9 Compare January 28, 2026 19:23
@motlin
Copy link
Copy Markdown
Collaborator Author

motlin commented Jan 28, 2026

@timtebeek I wanted to show you another recipe I'm landing in Liftwizard that I think is generic enough to go in openrewrite/rewrite-static-analysis. WDYT?

d1be938 shows the recipe

d1038e7 shows the fixes

@motlin motlin merged commit 9b8b4a9 into main Jan 28, 2026
43 checks passed
@motlin motlin deleted the openrewrite branch January 28, 2026 21:45
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

Successfully merging this pull request may close these issues.

1 participant