You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2006/11/17 11:13:37 UTC

[jira] Updated: (AXIS2-1737) method parameter names are meaning less

     [ http://issues.apache.org/jira/browse/AXIS2-1737?page=all ]

Amila Chinthaka Suriarachchi updated AXIS2-1737:
------------------------------------------------

    Attachment: TypeMappingAdapter.java-patch-171106.txt

now instead of parm prefix it has the localpart of the element name. to avoid compilation errors, a unique number is added to the end. (this patch is for the 1.1 branch)

> method parameter names are meaning less
> ---------------------------------------
>
>                 Key: AXIS2-1737
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1737
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Minor
>         Attachments: TypeMappingAdapter.java-patch-171106.txt
>
>
> method parameter names always look like 'param' + number. This makes it difficult to identify the parameters when coding.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [jira] Updated: (AXIS2-1737) method parameter names are meaning less

Posted by Paul Fremantle <pz...@gmail.com>.
+1 Sanjiva
I agree.

On 11/17/06, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> On Fri, 2006-11-17 at 02:13 -0800, Amila Chinthaka Suriarachchi (JIRA)
> wrote:
> >      [ http://issues.apache.org/jira/browse/AXIS2-1737?page=all ]
> >
> > Amila Chinthaka Suriarachchi updated AXIS2-1737:
> > ------------------------------------------------
> >
> >     Attachment: TypeMappingAdapter.java-patch-171106.txt
> >
> > now instead of parm prefix it has the localpart of the element name. to
> >  avoid compilation errors, a unique number is added to the end. (this
> >  patch is for the 1.1 branch)
>
> I don't think you actually need a unique number always. What I suggest
> is to key track and only add it if there are two qnames but have the
> same NS name.
>
> Sanjiva.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [jira] Updated: (AXIS2-1737) method parameter names are meaning less

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Fri, 2006-11-17 at 02:13 -0800, Amila Chinthaka Suriarachchi (JIRA)
wrote:
>      [ http://issues.apache.org/jira/browse/AXIS2-1737?page=all ]
> 
> Amila Chinthaka Suriarachchi updated AXIS2-1737:
> ------------------------------------------------
> 
>     Attachment: TypeMappingAdapter.java-patch-171106.txt
> 
> now instead of parm prefix it has the localpart of the element name. to
>  avoid compilation errors, a unique number is added to the end. (this
>  patch is for the 1.1 branch)

I don't think you actually need a unique number always. What I suggest
is to key track and only add it if there are two qnames but have the
same NS name.

Sanjiva.



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org