GenericFactory should instantiate it's own internal map
-------------------------------------------------------
Key: DROIDS-127
URL: https://issues.apache.org/jira/browse/DROIDS-127
Project: Droids
Issue Type: Improvement
Components: core
Affects Versions: 0.0.2
Reporter: Eugen Paraschiv
Fix For: 0.0.2
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
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira