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

Remove unused raConfigProperties map from DirectAdminObjectActivatorService

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 28.0.0.Beta1, 28.0.0.Final
    • None
    • JCA
    • None

      org/jboss/as/connector/services/resourceadapters/DirectAdminObjectActivatorService#start method creates a map raConfigProperties, but is not used. We should be able to remove it.

      Map<String, String> raConfigProperties = new HashMap<String, String>();
      Map<String, String> aoConfigProperties = new HashMap<String, String>();           
      if (properties != null) {
             for (Map.Entry<String,String> prop : properties.entrySet()) {
                 String key = prop.getKey();
                 String value = prop.getValue();
                 if (key.startsWith("ra.")) {
                     raConfigProperties.put(key.substring(3), value);
                 } else if (key.startsWith("ao.")) { 

              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: