incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugen Paraschiv (JIRA)" <j...@apache.org>
Subject [jira] Created: (DROIDS-127) GenericFactory should instantiate it's own internal map
Date Sun, 20 Feb 2011 13:36:38 GMT
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

        

Mime
View raw message