You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Richard Frovarp (JIRA)" <ji...@apache.org> on 2012/06/15 02:46:44 UTC

[jira] [Updated] (DROIDS-127) GenericFactory should instantiate it's own internal map

     [ https://issues.apache.org/jira/browse/DROIDS-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Frovarp updated DROIDS-127:
-----------------------------------

    Fix Version/s:     (was: 0.2.0)
                   0.3.0
    
> 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.2.0
>            Reporter: Eugen Paraschiv
>             Fix For: 0.3.0
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira