We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using latest spring-kafka produces some static analysis errors due to wrong annotations. For example in https://github.com/spring-projects/spring-kafka/blob/main/spring-kafka/src/main/java/org/springframework/kafka/config/KafkaListenerEndpointRegistry.java the method getListenerContainer can return null as documented, but on package level the annotation @org.springframework.lang.NonNullApi lets analyzers expect that the method cannot return null values. It would be great if the nullability annotations are used correctly or removed instead.
Kind regards, Michael
The text was updated successfully, but these errors were encountered:
629a07e
Thanks for pointing out this error; let us know if you see others (and contributions are also welcome).
Sorry, something went wrong.
Thank you very much for the quick fix.
No branches or pull requests
Using latest spring-kafka produces some static analysis errors due to wrong annotations. For example in
https://github.com/spring-projects/spring-kafka/blob/main/spring-kafka/src/main/java/org/springframework/kafka/config/KafkaListenerEndpointRegistry.java
the method getListenerContainer can return null as documented, but on package level the annotation @org.springframework.lang.NonNullApi lets analyzers expect that the method cannot return null values.
It would be great if the nullability annotations are used correctly or removed instead.
Kind regards,
Michael
The text was updated successfully, but these errors were encountered: