[JIRA] Updated: (JSR_275-39) Possible violation of java.text.Format API contract

  • From: "keilw (JIRA)" <jira-no-reply@kenai.com>
  • To: issues@jsr-275.kenai.com
  • Subject: [JIRA] Updated: (JSR_275-39) Possible violation of java.text.Format API contract
  • Date: Tue, 23 Feb 2010 15:13:12 +0000 (GMT+00:00)


     [ 
http://kenai.com/jira/browse/JSR_275-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

keilw updated JSR_275-39:
-------------------------

     Original Estimate: 0 minutes
    Remaining Estimate: 0 minutes

> Possible violation of java.text.Format API contract
> ---------------------------------------------------
>
>                 Key: JSR_275-39
>                 URL: http://kenai.com/jira/browse/JSR_275-39
>             Project: jsr-275
>          Issue Type: Bug
>          Components: Spec
>    Affects Versions: 0.9.1
>            Reporter: Martin Desruisseaux
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> The following page:
> * http://jscience.org/jsr-275/api/javax/measure/unit/UnitFormat.html
> contains no Javadoc for {{parseObject(String, ParsePosition)}} method. 
> Assuming that this method just delegages to {{parse(CharSequence, 
> ParsePosition)}} (as standard {{java.text.Format}} implementations usually 
> do), then we have a slight violation of API contract. The current javadoc 
> said:
> {quote}
> Throws IllegalArgumentException if any problem occurs while parsing the 
> specified character sequence (e.g. illegal syntax).
> {quote}
> The API contract for {{Format}} implementations is that no exception is 
> thrown. Instead, the method returns {{null}} and the error index is set 
> using {{ParsePosition.setErrorIndex(...)}} method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://kenai.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Updated: (JSR_275-39) Possible violation of java.text.Format API contract

keilw (JIRA) 02/23/2010
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close