Uploaded image for project: 'Droids'
  1. Droids
  2. DROIDS-127

GenericFactory should instantiate it's own internal map

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.2.0
    • 0.3.0
    • core
    • None

    Description

      The map is the core of the factory. GenericFactory should instantiate it's own map (as it's standard practice) instead of providing a setter for.
      There are many reasons for this:

      • the map is not an optional collaborator for the factory but a required one without which the factory cannot function
      • simplifies the API
      • each time the setter is used in the current codebase, it's used simply to inject an empty HashMap

      Attachments

        Activity

          People

            Unassigned Unassigned
            eugenparaschiv Eugen Paraschiv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: