Droids
  1. Droids
  2. DROIDS-127

GenericFactory should instantiate it's own internal map

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.2.0
    • Fix Version/s: 0.3.0
    • Component/s: core
    • Labels:
      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eugen Paraschiv
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development