Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17736

Remove redundant map of view classes in org.jboss.as.weld.ejb.EjbDescriptorImpl

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 28.0.0.Beta1, 28.0.0.Final
    • None
    • EJB
    • None

      org.jboss.as.weld.ejb.EjbDescriptorImpl#EjbDescriptorImpl creates and populates a map of interface classes but is not used.

              final Map<String, Class<?>> views = new HashMap<String, Class<?>>();
      
              for (BusinessInterfaceDescriptor<?> view : remoteInterfaces) {
                  views.put(view.getInterface().getName(), view.getInterface());
              }
              for (BusinessInterfaceDescriptor<?> view : localInterfaces) {
                  views.put(view.getInterface().getName(), view.getInterface());
              }
      

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: