Skip to content
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

Changing Jakarta provide to BeanProvider as it's lazy #9779

Merged
merged 4 commits into from
Aug 28, 2023
Merged

Conversation

dstepanov
Copy link
Contributor

No description provided.


/**
* Default constructor.
*
* @param resourceResolver The resource resolver
*/
protected HttpConverterRegistrar(Provider<ResourceResolver> resourceResolver) {
protected HttpConverterRegistrar(BeanProvider<ResourceResolver> resourceResolver) {
Copy link
Contributor

Choose a reason for hiding this comment

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

is this internal? If not need to keep the constructor, deprecate the old one and add @Inject to this one

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Corrected. Those classes should be internal

/**
* The constructor.
*
* @param resourceResolver The resource resolver
Copy link
Contributor

Choose a reason for hiding this comment

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

it misses @deprecated javadoc

@sonarcloud
Copy link

sonarcloud bot commented Aug 28, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

37.5% 37.5% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@dstepanov dstepanov added the type: improvement A minor improvement to an existing feature label Aug 28, 2023
@dstepanov dstepanov added this to the 4.2.0 milestone Aug 28, 2023
@dstepanov dstepanov merged commit c1ec15b into 4.2.x Aug 28, 2023
6 of 7 checks passed
@dstepanov dstepanov deleted the beanp branch August 28, 2023 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants