16 Jun 2008 10:50 PM #1
[FIXED] Feature: Registry#get() should use Generic to make casting unneeded
Currently Registry#get() is defined like this:
public static Object get(String id)
which makes the need for type-casting and if the code value restored is a e.g. a List<Object> one even has to add a @Suppress-Annotation to not get a code full of warnings. So I propose to define the method like this:
public static <X> X get(String id)
17 Jun 2008 5:48 AM #2
Change is in SVN.