commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MATH-374) [Enhancement] Request for public exception message strings on AbstractIntegerDistribution
Date Wed, 09 Jun 2010 10:12:13 GMT

    [ https://issues.apache.org/jira/browse/MATH-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877033#action_12877033
] 

Gilles commented on MATH-374:
-----------------------------

Right now, I still have to provide a minimal working set of source files laying out the proposed
changes.
If the idea is accepted, there will be a lot of modifications, and your help will come in
handy; thank you for the offer.


> [Enhancement] Request for public exception message strings on AbstractIntegerDistribution
> -----------------------------------------------------------------------------------------
>
>                 Key: MATH-374
>                 URL: https://issues.apache.org/jira/browse/MATH-374
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Ole Ersoy
>            Priority: Minor
>             Fix For: 2.2
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The Strings
>     /** Message for endpoints in wrong order. */
>     private static final String WRONG_ORDER_ENDPOINTS_MESSAGE =
>         "lower endpoint ({0}) must be less than or equal to upper endpoint ({1})";
>     /** Message for out of range point. */
>     private static final String OUT_OF_RANGE_POINT =
>         "{0} out of [{1}, {2}] range";
> are private.  It would be great if these were public, such that sub classes that override
methods could maintain consistent exception messages.

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