-
Notifications
You must be signed in to change notification settings - Fork 571
All Pico services should default to a lesser than DEFAULT_WEIGHT #6590
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,11 @@ | |
import io.helidon.builder.config.spi.ConfigBeanBuilderValidatorProvider; | ||
import io.helidon.common.LazyValue; | ||
import io.helidon.common.Weight; | ||
import io.helidon.common.Weighted; | ||
|
||
/** | ||
* 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 commentThe 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 commentThe 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 commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. pushed |
||
public class DefaultConfigBeanBuilderValidatorProvider implements ConfigBeanBuilderValidatorProvider { | ||
static final LazyValue<ConfigBeanBuilderValidator<?>> INSTANCE = LazyValue.create(DefaultConfigBuilderValidator::new); | ||
|
||
|
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 javadocThere 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