viditochani opened a new pull request, #4517: URL: https://github.com/apache/polaris/pull/4517
Migrates the remaining modules from Jakarta `@Nullable`/`@Nonnull` to JSpecify `@Nullable`/`@NonNull`. This completes the migration started in #4130 and #4240. After this PR, there are no Jakarta nullness annotations left in the codebase. Part of #4124 ### Changes Mechanical import swap across runtime/service, runtime/admin, extensions, plugins, tools, and persistence/relational-jdbc. One manual fix where `@NonNull QueryGenerator.PreparedQuery` needed a short import due to TYPE_USE scoping. Added explicit `compileOnly(libs.jspecify)` where needed and removed `jakarta.annotation.api` from modules that only used it for nullness annotations. ### Testing Verified with `./gradlew spotlessCheck compileJava compileTestJava compileTestFixturesJava` - all pass, no warnings. ### Checklist - [x] ๐ก๏ธ Don't disclose security issues! (contact [email protected]) - [x] ๐ Clearly explained why the changes are needed, or linked related issues: #4124 - [x] ๐งช Added/updated tests with good coverage, or manually tested (and explained how) - [ ] ๐ก Added comments for complex logic - [ ] ๐งพ Updated `CHANGELOG.md` (if needed) - [ ] ๐ Updated documentation in `site/content/in-dev/unreleased` (if needed) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
