[jboss-jira] [JBoss JIRA] Assigned: (JBMICROCONT-40) Add a warning for ambigous signatures.

Ales Justin (JIRA) jira-events at jboss.com
Wed Aug 30 02:43:43 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBMICROCONT-40?page=all ]

Ales Justin reassigned JBMICROCONT-40:
--------------------------------------

    Assignee: Ales Justin

> Add a warning for ambigous signatures.
> --------------------------------------
>
>                 Key: JBMICROCONT-40
>                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-40
>             Project: JBoss MicroContainer
>          Issue Type: Task
>          Components: BeanInfo
>    Affects Versions: JBossMC_1_0_0M1
>            Reporter: Adrian Brock
>         Assigned To: Ales Justin
>            Priority: Minor
>             Fix For: JBossMC_2_0_0RC1
>
>
> It should at least WARN the user when a method or constructor is overridden
> and the positional format of the parameters is ambigous before choosing the first one.
> e.g.
> public class MyBean
> {
>    public MyBean(String);
>    public MyBean(Integer);
> }
> <constructor>
>    <parameter>Some value</parameter>
> </constructor>
> should warn the user, which they can resolve with:
> <constructor>
>    <parameter class="java.lang.String">Some value</parameter>
> </constructor>

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

        



More information about the jboss-jira mailing list