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

Introduce ServiceControllerImpl.propagateTransitiveUnavailability() method

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: