-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add NullaWay to package-info for o.s.i.config package #10208
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
Add NullaWay to package-info for o.s.i.config package #10208
Conversation
Thank you for catching that! Updated the comment. |
It doesn't help any more. I just mean the reasoning behind my preference to use code snippet tools in commit messages as well. |
Understood. |
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.
Very cool!
Thanks
...ain/java/org/springframework/integration/config/AbstractSimpleMessageHandlerFactoryBean.java
Outdated
Show resolved
Hide resolved
...ain/java/org/springframework/integration/config/AbstractSimpleMessageHandlerFactoryBean.java
Outdated
Show resolved
Hide resolved
...ore/src/main/java/org/springframework/integration/config/CorrelationStrategyFactoryBean.java
Show resolved
Hide resolved
.../java/org/springframework/integration/config/DefaultConfiguringBeanFactoryPostProcessor.java
Outdated
Show resolved
Hide resolved
...ation-core/src/main/java/org/springframework/integration/config/SpelFunctionFactoryBean.java
Outdated
Show resolved
Hide resolved
...ain/java/org/springframework/integration/config/AbstractSimpleMessageHandlerFactoryBean.java
Outdated
Show resolved
Hide resolved
...ain/java/org/springframework/integration/config/AbstractSimpleMessageHandlerFactoryBean.java
Outdated
Show resolved
Hide resolved
...ain/java/org/springframework/integration/config/AbstractSimpleMessageHandlerFactoryBean.java
Outdated
Show resolved
Hide resolved
...re/src/main/java/org/springframework/integration/config/IntegrationManagementConfigurer.java
Outdated
Show resolved
Hide resolved
Add @org.jspecify.annotations.NullAway to package-info.java Apply @nullable, @SuppressWarnings("NullAway.Init) as need. Tweak code as necessary in locations where NullAway can not descern that the null condition is already mitigated
…mpleMessageHandlerFactoryBean Remove commented code in AbstractSimpleMessageHandlerFactoryBean.extractTarget Restructure IntegrationManagementConfigurer.registerComponentGauges so that a NullAway suppresion can be removed from the method related to: spring-projects#10083 rebased
eaa0633
to
d5f97cc
Compare
@org.jspecify.annotations.NullAway
to package-info.java@Nullable
,@SuppressWarnings("NullAway.Init)
as need. Tweak code as necessary in locations where NullAway can not discern that the null condition is already mitigated