uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject generics: additionalParams
Date Wed, 12 Aug 2009 16:22:32 GMT
The additionalParams Map has a String key and can contains
all kinds of Objects, so the correct generification would be Map<String, 

In the uima code base I found one invocation where a Properties object was
passed as additionalParams. Properties is a Map<Object, Object> which
will cause compile errors in user code when they use a Properties object 
to pass
in the additional params.
I don't think its common practice to use Properties for additional params.

Should we change it anyway and add a known issue to our release notes ?


View raw message