Skip to content

Commit

Permalink
Merge pull request quarkusio#2870 from rsvoboda/BeanInfo.hasDefaultQu…
Browse files Browse the repository at this point in the history
…alifiers

Check both BuiltinQualifier.ANY and BuiltinQualifier.DEFAULT
  • Loading branch information
gsmet authored Jun 18, 2019
2 parents 8d566c2 + fc77654 commit 293d8b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public Set<AnnotationInstance> getQualifiers() {

public boolean hasDefaultQualifiers() {
return qualifiers.size() == 2 && qualifiers.contains(BuiltinQualifier.DEFAULT.getInstance())
&& qualifiers.contains(BuiltinQualifier.DEFAULT.getInstance());
&& qualifiers.contains(BuiltinQualifier.ANY.getInstance());
}

List<Injection> getInjections() {
Expand Down

0 comments on commit 293d8b6

Please sign in to comment.