Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-962

Vector3DFormat.parse does not ignore whitespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.1
    • 3.3
    • None
    • None
    • Macosxm, Java 1.6.0

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            leonfrench Leon French
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified