db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6262) Simplify message-generating methods using varargs
Date Thu, 20 Jun 2013 14:38:20 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689285#comment-13689285
] 

ASF subversion and git services commented on DERBY-6262:
--------------------------------------------------------

Commit 1495023 from [~knutanders]
[ https://svn.apache.org/r1495023 ]

DERBY-6262: Simplify message-generating methods using varargs

Reduce number of methods that format messages in tools classes.
                
> Simplify message-generating methods using varargs
> -------------------------------------------------
>
>                 Key: DERBY-6262
>                 URL: https://issues.apache.org/jira/browse/DERBY-6262
>             Project: Derby
>          Issue Type: Improvement
>          Components: Miscellaneous
>    Affects Versions: 10.11.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: derby-6262-01-a.diff, derby-6262-02-a.diff, derby-6262-03-a.diff
>
>
> I've found that many methods that generate messages could be collapsed into a single
method using varargs. Right now, many of them exist in multiple variants, typically for zero
up to three or four message arguments.
> Examples:
>   Monitor.logTextMessage()
>   MessageService.getTextMessage()
>   Constructors in SqlException and SqlWarning

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message