Hi Thanks for this suggestion. I'll have a closer look at it soon.
Cheers Lukas Am Freitag, 8. Juni 2012 schrieb digulla <[email protected]>: > 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
