commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MATH-962) Vector3DFormat.parse does not ignore whitespace
Date Sun, 14 Apr 2013 16:20:16 GMT

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

Thomas Neidhart resolved MATH-962.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Added clarification to the javadoc in r1467801.

Thanks for the report.
                
> Vector3DFormat.parse does not ignore whitespace
> -----------------------------------------------
>
>                 Key: MATH-962
>                 URL: https://issues.apache.org/jira/browse/MATH-962
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>         Environment: Macosxm, Java 1.6.0
>            Reporter: Leon French
>            Priority: Minor
>             Fix For: 4.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Vector3DFormat notes it ingores whitespace in the javadoc but in the below example it
does not:
> 	Vector3DFormat vf = new Vector3DFormat("(", ")", ",");
> 	System.out.println(vf.parse("(1, 2, 3)")); //prints {1; 2; 3}
> 	System.out.println(vf.parse("(1,2,3)"));   //prints null

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

Mime
View raw message