-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
related to: spring-projects#10083 Signed-off-by: Jiandong Ma <[email protected]>
...rc/main/java/org/springframework/integration/jpa/outbound/JpaOutboundGatewayFactoryBean.java
Outdated
Show resolved
Hide resolved
spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jiandong Ma <[email protected]>
Signed-off-by: Jiandong Ma <[email protected]>
@@ -398,10 +404,7 @@ public void afterPropertiesSet() { | |||
else if (this.flush) { | |||
this.flushSize = 1; | |||
} | |||
|
|||
if (this.evaluationContext == null) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java
Outdated
Show resolved
Hide resolved
@@ -398,10 +404,7 @@ public void afterPropertiesSet() { | |||
else if (this.flush) { | |||
this.flushSize = 1; | |||
} | |||
|
|||
if (this.evaluationContext == null) { |
There was a problem hiding this comment.
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.
spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java
Show resolved
Hide resolved
Signed-off-by: Jiandong Ma <[email protected]>
related to: #10083