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

WELD-1633 extend.xml documentation fixes #526

Closed
wants to merge 1 commit into from

Conversation

maschmid
Copy link
Contributor

@maschmid maschmid commented Apr 1, 2014

Fixing issues described in the WELD-1633 JIRA and further minor cleanups

uses /* comments */ consistently throughout the chapter instead of // (as the docbook template used doesn't seem to understand // as comments in the code listings

@weld-tester
Copy link

Triggering build using a merge of b93a7a8 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-pull-player-executor/

//if the class implements Service, make it an @Alternative

/* if the class implements Service, make it an @Alternative */
if (!Service.class.isAssignableFrom(type.getJavaClass())) {
Copy link
Member

Choose a reason for hiding this comment

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

This check is redundant as this is guarded by the type variable upper bound.

@weld-tester
Copy link

Build 432 is now running using a merge of b93a7a8 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-pull-player-executor/432

@weld-tester
Copy link

@weld-tester
Copy link

Triggering build using a merge of 450b2b3 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-pull-player-executor/

@maschmid
Copy link
Contributor Author

maschmid commented Apr 2, 2014

I have updated the pull request, removed the unecessary check in the ServiceAlternativeExtension and added one in the QualifiedNameExtension

@weld-tester
Copy link

Build 436 is now running using a merge of 450b2b3 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-pull-player-executor/436

@weld-tester
Copy link

@@ -589,9 +649,12 @@ public class QualifiedNameExtension implements Extension {
@Override
public boolean isAnnotationPresent(Class<? extends Annotation> annType) {
if (Named.class.equals(annType)) {
return true;
Package pkg = at.getJavaClass().getPackage();
Copy link
Member

Choose a reason for hiding this comment

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

I think that "if (Named.class.equals(annType))" then we can safely return true. Otherwise the PR looks good!

@weld-tester
Copy link

Triggering build using a merge of 273a211 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-pull-player-executor/

@maschmid
Copy link
Contributor Author

maschmid commented Apr 2, 2014

updated the pull request, reverted the QualifiedNameExtension::isAnnotationPresent change.

@weld-tester
Copy link

Build 440 is now running using a merge of 273a211 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Weld-2.x-pull-player-executor/440

@jharting
Copy link
Member

jharting commented Apr 2, 2014

Merged, thanks!

@jharting jharting closed this Apr 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants