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

Ales Justin (JIRA) jira-events at lists.jboss.org
Fri Jul 6 08:06:53 EDT 2007


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

Ales Justin closed JBMICROCONT-40.
----------------------------------

    Resolution: Done

We added isAssignable and isProgression which should make this more flexible.

> 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_0_CR1
>
>
> 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