-
Notifications
You must be signed in to change notification settings - Fork 566
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
All Pico services should default to a lesser than DEFAULT_WEIGHT #6590
Conversation
*/ | ||
double DEFAULT_WEIGHT = Weighted.DEFAULT_WEIGHT; | ||
double DEFAULT_PICO_WEIGHT = Weighted.DEFAULT_WEIGHT; |
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.
I do not see the -1
mentioned in the javadoc
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.
Great catch! lol
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.
pushed
|
||
/** | ||
* Service-loaded provider for {@link io.helidon.builder.config.spi.ConfigResolverProvider}. | ||
*/ | ||
@Weight(Weighted.DEFAULT_WEIGHT) | ||
@Weight(io.helidon.pico.api.ServiceInfoBasics.DEFAULT_PICO_WEIGHT) |
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.
Why is it fully qualified? There should not be a naming conflict.
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.
Seems to be in all usages
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.
Yes, it was just easier to do it that way. Is that somehow a problem? I did the same for the javadoc.
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.
In Javadoc, you should use fully qualified. In code, only when you have conflicting types
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.
pushed
…ride default behaviors)
|
||
/** | ||
* Service-loaded provider for {@link io.helidon.builder.config.spi.ConfigResolverProvider}. | ||
*/ | ||
@Weight(Weighted.DEFAULT_WEIGHT) | ||
@Weight(io.helidon.pico.api.ServiceInfoBasics.DEFAULT_PICO_WEIGHT) |
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.
In Javadoc, you should use fully qualified. In code, only when you have conflicting types
Fix for issue#6583.