Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-174

Introduce ServiceControllerImpl.propagateTransitiveUnavailability() method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.1.7.Final, 1.2.7.Final
    • None
    • None

      There are many code duplicities like this in ServiceControllerImpl:

      for (Dependent[] dependentArray : dependents) {
        for (Dependent dependent : dependentArray) {
          if (dependent != null) {
            dependent.transitiveDependencyUnavailable();
          }
        }
      }
      

      This sample code can be refactored into separate method.
      Refactor the code accordingly to improve its readability.

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: