You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2013/06/14 11:45:21 UTC

[jira] [Created] (DERBY-6262) Simplify message-generating methods using varargs

Knut Anders Hatlen created DERBY-6262:
-----------------------------------------

             Summary: 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


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