uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: generics: additionalParams
Date Tue, 18 Aug 2009 07:32:21 GMT
Jörn Kottmann wrote:
> The additionalParams Map has a String key and can contains
> all kinds of Objects, so the correct generification would be 
> Map<String, Object>.
> 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.
Any opinions on this ?


View raw message