Hi Lukas,

Please consider using a TypedMap for Configuration.getData(). See here: 
http://blog.pdark.de/2010/05/28/type-safe-object-map/

The API isn't perfect at this time; the problem is the put(String, Object) 
method which can be called accidentally.

There are two ways to improve this:

1. Don't implement Map<>

2. Throw an exception in put(String, Object) to make sure only the type 
safe method is ever called.

Regards,

A. Digulla

Reply via email to