Github user StephanEwen commented on the pull request:
https://github.com/apache/incubator-flink/pull/183#issuecomment-62036117
Virtually all cases are tests, where it makes no matter. One case can be
entirely avoided.
I think skipping the calls entirely and just letting the autoboxing do its
magic (it uses Integer.valueOf() as well) would be even nicer.
All in all the fix is fine, though.
---
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.
---