-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add JSpecify nullify to channel/interceptor, code, and codec/kryo packages #10187
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
…kages * Missed the channel/interceptor on the last PR. * Removed CompositeCodec(Codec defaultCodec) because null can never be pass to the Codec. In the past it would have thrown a NPE. Continued effort or issue: spring-projects#10083
spring-integration-core/src/main/java/org/springframework/integration/codec/CompositeCodec.java
Show resolved
Hide resolved
spring-integration-core/src/main/java/org/springframework/integration/codec/CompositeCodec.java
Show resolved
Hide resolved
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.
spring-integration-core/src/main/java/org/springframework/integration/codec/CompositeCodec.java
Outdated
Show resolved
Hide resolved
spring-integration-core/src/main/java/org/springframework/integration/codec/CompositeCodec.java
Outdated
Show resolved
Hide resolved
Removed @nullable from delegates field in CompositeCodec Remove check for null for delegate and replace it with isEmpty
spring-integration-core/src/main/java/org/springframework/integration/codec/CompositeCodec.java
Outdated
Show resolved
Hide resolved
@artembilan So you obviously voted against my suggestion regarding |
No, I did not voted against you. Feel free to raise a PR with whatever improvements you see! |
Continued effort or issue: #10083