[jboss-jira] [JBoss JIRA] Resolved: (LOGTOOL-7) Add support for overloaded methods with different parameter counts
James Perkins (JIRA)
jira-events at lists.jboss.org
Mon May 16 12:26:01 EDT 2011
[ https://issues.jboss.org/browse/LOGTOOL-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins resolved LOGTOOL-7.
---------------------------------
Resolution: Done
Fixed on commit https://github.com/jamezp/jboss-logging-tools/commit/cda540bd384e94b9672271bd7f09f218fd886251
> Add support for overloaded methods with different parameter counts
> ------------------------------------------------------------------
>
> Key: LOGTOOL-7
> URL: https://issues.jboss.org/browse/LOGTOOL-7
> Project: Log Tool
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: David Lloyd
> Assignee: James Perkins
> Fix For: 1.0.0.Beta7
>
>
> We should improve method overloading support by allowing more than one @Message method to be defined for a method name, as long as the parameter count (not including @Cause) is different. In this case, the translations would be differentiated by appending a ".#" to the property for each overloaded method, where # is the number of method parameters (not counting the @Cause parameter, if any).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list