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

CDI-662 Fix Instance.isResolvable() text #359

Merged
merged 1 commit into from
Dec 12, 2016
Merged

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Dec 8, 2016

I'm not going to fix the javadoc because we don't mention resolving ambiguities for any method there. I think to specify this only in the spec text.

* Identify the set of beans that have the required type and required qualifiers and are eligible for injection into the class into which the parent `Instance` was injected, according to the rules of typesafe resolution, as defined in <<performing_typesafe_resolution>>, resolving ambiguities according to <<unsatisfied_and_ambig_dependencies>>.
* The method `isUnsatisfied()` returns `true` if there is no bean found, or `false` otherwise.
* The method `isAmbiguous()` returns `true` if there is more than one bean found, or `false` otherwise.
* The method `isResolvable()` if there is exactly one bean found, or `false` otherwise.
Copy link
Contributor

Choose a reason for hiding this comment

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

isResolvable() if there -> isResolvable() returns true if there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch!! :-)

@tremes
Copy link
Contributor

tremes commented Dec 8, 2016

I think it looks good

@manovotn
Copy link
Contributor

manovotn commented Dec 9, 2016

LGMT

Copy link
Contributor

@antoinesd antoinesd left a comment

Choose a reason for hiding this comment

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

LGTM

@antoinesd antoinesd merged commit c7beee6 into jakartaee:master Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants