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 "Eugen Paraschiv (JIRA)" <ji...@apache.org> on 2011/02/20 13:36:38 UTC
[jira] Created: (DROIDS-127) GenericFactory should instantiate it's
own internal map
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
[jira] [Updated] (DROIDS-127) GenericFactory should instantiate
it's own internal map
Posted by "Richard Frovarp (JIRA)" <ji...@apache.org>.
[ 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