Skip to content

Conversation

@ngocnhan-tran1996
Copy link
Contributor

No description provided.

private volatile AbstractServerConnectionFactory connectionFactory;

private volatile ApplicationEventPublisher applicationEventPublisher;
private volatile @Nullable ApplicationEventPublisher applicationEventPublisher;
Copy link
Member

Choose a reason for hiding this comment

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

This one also @SuppressWarnings("NullAway.Init").
Because it is initialized from the Application context callbacks.

}

@Nullable
private Object getStructuredData(Reader r) {
Copy link
Member

Choose a reason for hiding this comment

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

Please, put @Nullable on the return type.
This is a contract exactly of the return type, not a method.

Signed-off-by: Tran Ngoc Nhan <[email protected]>
* @return the timestamp.
*/
@Nullable
protected Object getTimestamp(Reader r) {
Copy link
Member

Choose a reason for hiding this comment

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

Thanks, but how have you missed to fix this one as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad, I missed it.

Signed-off-by: Tran Ngoc Nhan <[email protected]>
@artembilan artembilan merged commit 0f6a8af into spring-projects:main Aug 2, 2025
3 checks passed
@ngocnhan-tran1996 ngocnhan-tran1996 deleted the gh-10083-syslog-module branch August 3, 2025 10:45
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