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

Vector3DFormat.parse does not ignore whitespace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.3
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              Unassigned
              Reporter:
              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