[hibernate-issues] [Hibernate-JIRA] Resolved: (BVAL-243) Provide a means for specifying method parameter names

Emmanuel Bernard (JIRA) noreply at atlassian.com
Tue Mar 13 06:27:48 EDT 2012


     [ https://hibernate.onjira.com/browse/BVAL-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved BVAL-243.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.1)
                   1.1 early draft 1

> Provide a means for specifying method parameter names
> -----------------------------------------------------
>
>                 Key: BVAL-243
>                 URL: https://hibernate.onjira.com/browse/BVAL-243
>             Project: Bean Validation
>          Issue Type: Sub-task
>          Components: spec-general
>            Reporter: Gunnar Morling
>             Fix For: 1.1 early draft 1
>
>
> Emmanuel wrote:
> {quote}
> On named parameters we have three strategies I think:
> - not address the problem at all and use positional parameters to see what comes up JDK 8's hat (named parameters might not be represented as strings but rather as a typed object)
> - not address the problem in the specification but leave the API open enough for a provider to offer a named parameter friendly API
> - address the problem within the spec (the interface approach seems elegant) hoping for the named parameter to be represented as a String in JDK 8
> I tend to like param0, param1 etc rather than arg0, arg1 but that's aesthetic.
> {quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list