You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some problems to use Kotlin with spring batch. Kotlin has strict validation on nullable vs nonnullable methods/parameters. But in spring-batch we have a lot of mistakes in JSR-305 annotations usage.
e.g. org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader#read method does not have @Nullable annotation. But org.springframework.batch.item.support package annotated as @NonNullApi. So "read" method is not nullable (but returns null).
Affects: 4.1.2
Referenced from: pull request #726, and commits a7092a2
The text was updated successfully, but these errors were encountered:
mikeldpl opened BATCH-2839 and commented
I have some problems to use Kotlin with spring batch. Kotlin has strict validation on nullable vs nonnullable methods/parameters. But in spring-batch we have a lot of mistakes in JSR-305 annotations usage.
e.g. org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader#read method does not have
@Nullable
annotation. But org.springframework.batch.item.support package annotated as@NonNullApi
. So "read" method is not nullable (but returns null).Affects: 4.1.2
Referenced from: pull request #726, and commits a7092a2
The text was updated successfully, but these errors were encountered: