Github user jerrypeng commented on the pull request:
https://github.com/apache/storm/pull/785#issuecomment-146272172
@revans2 your suggestion are great, but the parameters passed into java
annotations have to declared to be a specific type thus we could not have:
@MapType(key=@StringType, value=@NumberType)
public static final ...;
but maybe something like:
@MapType(key=@TypeValidator(type = String.class), value=@TypeValidator(type
= Number.class))
public static final ...;
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---