I don't think the safety net mattered that much, and furthermore,
prior to the change, you have to make constructs like:

new MetaDataKey<ActionPermissions>(ActionPermissions.class) {
};

which imo is just stupid and actually surprised me no-one caught that.
So, if you are worried about the runtime check, we should discard the
parameterization and go back to 1.3's signature. Vote?

Eelco


On 1/14/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
not sure about this commit [1] by eelco.

yes we have the generics, but that safety was enforced at runtime, not
compile time. do we really want to lose that safety net?

[1]
http://mail-archives.apache.org/mod_mbox/incubator-wicket-commits/200701.mbox/ajax/[EMAIL
 PROTECTED]

-igor


Reply via email to