spring-batch-extensions icon indicating copy to clipboard operation
spring-batch-extensions copied to clipboard

Introduce JSpecify annotations for nullability constraints

Open scordio opened this issue 8 months ago • 0 comments

Following spring-projects/spring-framework#28797 and spring-projects/spring-batch#4673, all the extension modules currently on the latest Spring Batch version could adopt JSpecify annotations to ensure build-time validation via NullAway.

See also:

  • https://spring.io/blog/2025/03/10/null-safety-in-spring-apps-with-jspecify-and-null-away
  • https://docs.openrewrite.org/recipes/java/jspecify/migratefromspringframeworkannotations

  • [ ] spring-batch-bigquery
  • [ ] spring-batch-elasticsearch
  • [ ] spring-batch-excel
  • [ ] spring-batch-neo4j
  • [x] spring-batch-notion (#191)

scordio avatar Apr 04 '25 06:04 scordio