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

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

    XMLWordPrintable

Details

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

    Description

      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());
              }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: