Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: referencing
-
Labels:None
-
Number of attachments :
Description
ObjectFactory expect a Map argument for the definition of object properties (name, alias, etc.). The key for the map must be String like "name", "alias", etc. Those strings should be declared as constants, for type safety.
On a related note, the Map arguments should be Map<String,Object>.
Added the String constants.