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

Remove uses of deprecated ModuleDependency.getIdentifier()

XMLWordPrintable

    • ---
    • ---

      Replace ModuleDependency.getIdentifier() calls with getDependencyModule().

      Method
          getIdentifier()
      Usages or usages of base method in Project and Libraries  (8 usages found)
          Unclassified  (8 usages found)
              wildfly-appclient  (1 usage found)
                  org.jboss.as.appclient.deployment  (1 usage found)
                      ApplicationClientDependencyProcessor  (1 usage found)
                          deploy(DeploymentPhaseContext)  (1 usage found)
                              59 final String identifier = dep.getIdentifier().toString();
              wildfly-jaxrs  (4 usages found)
                  org.jboss.as.jaxrs.deployment  (4 usages found)
                      JaxrsIntegrationProcessor  (4 usages found)
                          deploy(DeploymentPhaseContext)  (4 usages found)
                              124 if (!identifiers.contains(dep.getIdentifier().toString())) {
                              125 identifiers.add(dep.getIdentifier().toString());
                              126 if (attachmentMap.containsKey(dep.getIdentifier().toString())) {
                              127 additionalData.add(attachmentMap.get(dep.getIdentifier().toString()));
              wildfly-undertow  (2 usages found)
                  org.wildfly.extension.undertow.deployment  (2 usages found)
                      ServletContainerInitializerDeploymentProcessor  (2 usages found)
                          deploy(DeploymentPhaseContext)  (2 usages found)
                              98 Module depModule = loader.loadModule(dependency.getIdentifier());
                              107 throw UndertowLogger.ROOT_LOGGER.errorLoadingSCIFromModule(dependency.getIdentifier().toString(), e);
              wildfly-webservices-server-integration  (1 usage found)
                  org.jboss.as.webservices.deployers  (1 usage found)
                      WSClassVerificationProcessor  (1 usage found)
                          hasCxfModuleDependency(DeploymentUnit)  (1 usage found)
                              107 final String id = dep.getIdentifier().getName();
      

              lvydra Lukas Vydra
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: