cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reta <...@git.apache.org>
Subject [GitHub] cxf pull request #182: [CXF-6986] If no application classes found, install a...
Date Fri, 21 Oct 2016 13:32:50 GMT
Github user reta commented on a diff in the pull request:

    https://github.com/apache/cxf/pull/182#discussion_r84469141
  
    --- Diff: integration/cdi/src/main/java/org/apache/cxf/cdi/CdiBusBean.java ---
    @@ -61,44 +53,14 @@ public String getName() {
             return CXF;
         }
     
    -    @SuppressWarnings("serial")
    -    @Override
    -    public Set< Annotation > getQualifiers() {
    -        Set<Annotation> qualifiers = new HashSet<Annotation>();
    -        qualifiers.add(new AnnotationLiteral< Default >() { });
    -        qualifiers.add(new AnnotationLiteral< Any >() { });
    -        return qualifiers;
    -    }
    -
         @Override
         public Set<Type> getTypes() {
    -        final Set< Type > types = new HashSet< Type >();
    +        final Set< Type > types = super.getTypes();
    --- End diff --
    
    `final Set< Type > types = new HashSet<>(super.getTypes());`, it is just safer



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message