Skip to content

Apply Nullability to spring-integration-jpa #10157

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

Merged
merged 4 commits into from
Jun 23, 2025

Conversation

mjd507
Copy link
Contributor

@mjd507 mjd507 commented Jun 22, 2025

related to: #10083

@mjd507 mjd507 requested a review from artembilan June 23, 2025 14:18
@@ -398,10 +404,7 @@ public void afterPropertiesSet() {
else if (this.flush) {
this.flushSize = 1;
}

if (this.evaluationContext == null) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

is it harmful to remove in this version?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think so.
This is major version, so we can have some breaking changes.
But I don't see how this one could be.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay, so instead of depredated method setIntegrationEvaluationContext(), can we simply remove that method?

Copy link
Member

Choose a reason for hiding this comment

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

No. We never remove a public API in our classes just because.
Has to be deprecated first.

Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

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

Thank you for the update!
This is very close to the merge.

@@ -398,10 +404,7 @@ public void afterPropertiesSet() {
else if (this.flush) {
this.flushSize = 1;
}

if (this.evaluationContext == null) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't think so.
This is major version, so we can have some breaking changes.
But I don't see how this one could be.

Signed-off-by: Jiandong Ma <[email protected]>
@artembilan artembilan merged commit f4b61cd into spring-projects:main Jun 23, 2025
3 checks passed
@mjd507 mjd507 deleted the jspecify-jpa branch June 23, 2025 16:32
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