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

Remove useless ServiceControllerImpl.StopContextImpl check

    XMLWordPrintable

Details

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

    Description

      There's the following code snippet in ServiceControllerImpl.StopContextImpl:

      ...
      else if (state == ContextState.SYNC_ASYNC_FAILED) {
        state = ContextState.FAILED;
      }
      ...
      

      This code is effectively dead code because ServiceController's StopContext cannot fail.

      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: