incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Frovarp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DROIDS-127) GenericFactory should instantiate it's own internal map
Date Fri, 15 Jun 2012 02:46:44 GMT

     [ 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

        

Mime
View raw message