[webbeans-issues] [JBoss JIRA] Commented: (WBRI-186) generic type member injection

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Mar 16 16:15:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/WBRI-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457544#action_12457544 ] 

Pete Muir commented on WBRI-186:
--------------------------------

> It is caused by eclipse formatter.I apply 
> eclipse-code-formatter-profile.xml to my eclipse. 

I would simply recommend to not use an automatic formatter on a whole class - just a snippet as necessary...

Thanks again!

> generic type member injection
> -----------------------------
>
>                 Key: WBRI-186
>                 URL: https://jira.jboss.org/jira/browse/WBRI-186
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Simple Beans
>    Affects Versions: 1.0.0.BETA1
>            Reporter: Takeshi Kondo
>            Assignee: Pete Muir
>             Fix For: 1.0.0.PREVIEW
>
>         Attachments: parameterized_member_injection.patch, test_code.patch
>
>
> public class ParameterizedListInjection
> {
>    @Current
>    private List<String> fieldInjection;
> -------
> this generic type field injection, 
> I supposed that injected instance is "manager.getInstanceByType(new TypeLiteral<List<String>>(){});",
> but actual injected instanec is "manager.getInstanceByType(List.class);"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list