db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4367) Replace Utils.min and Utils.max in the client driver with standard methods in java.lang.Math
Date Tue, 01 Sep 2009 13:00:34 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Waagan updated DERBY-4367:
-----------------------------------

    Attachment: derby-4367-1a-remove_min_max.stat
                derby-4367-1a-remove_min_max.diff

Attaching patch 1a, which deletes the min and max methods in Utils, and replaces all uses
of them with the corresponding methods in java.lang.Math.

I plan to commit this shortly.

> Replace Utils.min and Utils.max in the client driver with standard methods in java.lang.Math
> --------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4367
>                 URL: https://issues.apache.org/jira/browse/DERBY-4367
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Client
>    Affects Versions: 10.6.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Trivial
>             Fix For: 10.6.0.0
>
>         Attachments: derby-4367-1a-remove_min_max.diff, derby-4367-1a-remove_min_max.stat
>
>
> The client has a utility class implementing functions for choosing the smallest and the
largest int. These functions are already defined in java.lang.Math, and should be used instead
because they are more familiar and because there is no need to duplicate the functionality.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message