First official JSF 2.3 contribution from zeef.com
27 January 2015, by: Arjan TijmsA while back we joined the JSF 2.3 EG as zeef.com. While we had contributed as individuals before (mostly via code suggestions and snippets in JIRA issues) we are proud that today our first more direct contribution was committed to Mojarra for the ongoing JSF 2.3 effort.
Co-spec lead Manfred Riem tweeted about this earlier today:
And the JCP process in action! Thank to Arjan Tijms for his recent #JSF 2.3 contribution! Generic injection of the applicationMap. Enjoy!
— Manfred Riem (@mnriem) January 27, 2015
The commit in question can be seen in our GitHub mirror. To summarize the change; before it was only possible to inject the application map as follows:
@Inject @ApplicationMap Map applicationMap;
As can be seen, the map is missing its generic parameters. This is of course far from ideal. With the latest patch, this map can now be injected as it should be:
@Inject @ApplicationMap Map<String, Object> applicationMap;
Injection into a raw map is still supported, but for most cases the generic variant should be preferred.
It’s a fairly small change, but hopefully many more of such changes will follow soon 😉
Arjan Tijms
30 January, 2015 at 20:16
Awesome, can’t wait to see more.
6 February, 2015 at 18:17
[…] is that both my co-worker Bauke ( BalusC ) as well as myself are now members of the JSF EG and are actively contributing to JSF […]
25 February, 2015 at 13:20
[…] « First official JSF 2.3 contribution from zeef.com […]