Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6889

Add a ModuleDependency.Builder class

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 26.0.0.Beta1, 26.0.0.Final
    • None
    • Server
    • None

      ModuleDependency has 4 constructors, with the one that ultimately gets called taking 4 different boolean parameters. Stuff like this is a bug waiting to happen and is a pain to review:

      moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, moduleName, false, false, false, false));
      

      Note: Since this will be a new API, the builder shouldn't use the deprecated ModuleIdentifier class. Use a String.

      Note: Use a different issue for any general cleanup work re the use of ModuleIdentifier in the ModuleDependency class.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: