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 "Kristian Waagan (JIRA)" <ji...@apache.org> on 2009/09/01 14:58:33 UTC

[jira] Created: (DERBY-4367) Replace Utils.min and Utils.max in the client driver with standard methods in java.lang.Math

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


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.


[jira] Closed: (DERBY-4367) Replace Utils.min and Utils.max in the client driver with standard methods in java.lang.Math

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan closed DERBY-4367.
----------------------------------


Closing.

> 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.


[jira] Resolved: (DERBY-4367) Replace Utils.min and Utils.max in the client driver with standard methods in java.lang.Math

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan resolved DERBY-4367.
------------------------------------

    Resolution: Fixed

Committed patch 1a to trunk with revision 810024.

> 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.


[jira] Updated: (DERBY-4367) Replace Utils.min and Utils.max in the client driver with standard methods in java.lang.Math

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ 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.