commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon French (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-962) Vector3DFormat.parse does not ignore whitespace
Date Wed, 03 Apr 2013 15:45:15 GMT
Leon French created MATH-962:
--------------------------------

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


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