Details
-
Type: Sub-task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.1
-
Component/s: o.c.common.util
-
Labels:None
Description
Properties only allows String as key and as Value when properly used. However, one can use any Object for the key or the value. This is inappropriate from a type checking perspective. It should use String instead.
Add
PropertyMap extends LinkedHashMap<String,String>
as a replacement for
Properties extends Hashtable<Object,Object>
This will need to implement the characteristics of Properties:
- Default chaining
- getProperty(key, default)
- save and load