[infinispan-issues] [JBoss JIRA] (ISPN-8515) Allow @Inject on fields
Radim Vansa (JIRA)
issues at jboss.org
Mon Nov 13 05:51:00 EST 2017
[ https://issues.jboss.org/browse/ISPN-8515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radim Vansa reassigned ISPN-8515:
---------------------------------
Assignee: Radim Vansa
> Allow @Inject on fields
> -----------------------
>
> Key: ISPN-8515
> URL: https://issues.jboss.org/browse/ISPN-8515
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 9.2.0.Alpha2
> Reporter: Radim Vansa
> Assignee: Radim Vansa
>
> Right now we require the @Inject annotation to be used only on methods, which should only assign the parameter to a field. Annotating the fields directly would result in less code lines and lower likelihood of typos.
> The possible risk is higher startup time; running testsuite w/ and w/o this change should be sufficient to detect that.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list