Quarkus: Typo error in INFO message when @Alternative bean is ignored

Created on 20 Jul 2020  路  3Comments  路  Source: quarkusio/quarkus

Describe the bug
When an Alternative bean is going to be ignored, the INFO message contains the word AlernativePriority instead of AlternativePriority.

Expected behavior
[INFO] [io.quarkus.arc.processor.Beans] Ignoring bean defined via _fully-qualified class name_ - declared as an \@Alternative but not selected by \@Priority, \@AlternativePriority or quarkus.arc.selected-alternatives

Actual behavior
[INFO] [io.quarkus.arc.processor.Beans] Ignoring bean defined via _fully-qualified class name_ - declared as an @Alternative but not selected by \@Priority, \@AlernativePriority or quarkus.arc.selected-alternatives

To Reproduce
Steps to reproduce the behavior:

  1. Annotate a bean with @Alternative annotation (no @AlternativePriority annotation, no update of property quarkus.arc.selected-alternatives).
  2. During the project build, an INFO message as described in Actual behavior section should be displayed.

Configuration
not applicable

Screenshots
(If applicable, add screenshots to help explain your problem.)

Environment (please complete the following information):

  • Quarkus version 1.6.0.Final

Additional context
https://github.com/quarkusio/quarkus/blob/a75f2db39e3025a5c38884f716614c19a0c050ad/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/Beans.java#L139

kinbug

Most helpful comment

Looks like you're ready to provide a PR? :)

All 3 comments

Looks like you're ready to provide a PR? :)

I will provide the PR.

Was this page helpful?
0 / 5 - 0 ratings