Skip to content

Conversation

artembilan
Copy link
Member

Related to: #10083

Copy link
Contributor

@cppwfs cppwfs left a comment

Choose a reason for hiding this comment

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

LGTM

Just a quick question.

.getValue();
templateDefinition.getPropertyValues() // NOSONAR never null

Objects.requireNonNull(templateDefinition).getPropertyValues()
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be correct to say that we don't expect the templateDefinition returned from the builder should never be null?

Copy link
Member Author

Choose a reason for hiding this comment

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

What you say is correct , but contract enforces us.
I wouldn’t spend too much time on XML parsers: I anticipate their deprecation and removal at some point.
Plus , this is not a critical execution path, so it is OK to say nothing and just follow the contract.

Copy link
Contributor

@cppwfs cppwfs left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you for doing this!

@cppwfs cppwfs merged commit 5722e8d into spring-projects:main Aug 14, 2025
3 checks passed
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