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

EmpiricalDistributionTest fails if path contains spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.2
    • None
    • None

    Description

      testLoad fails at loading the file because URL replaces the spaces with "%20"

      I've attached a patch that converts the URL to a URI before passing it to File. ( see http://stackoverflow.com/questions/8928661/how-to-avoid-getting-url-encoded-paths-from-url-getfile )

      Thanks in advance,
      Evan

      Attachments

        1. empiricalTest.patch
          0.6 kB
          Evan Ward

        Activity

          People

            Unassigned Unassigned
            evanward1 Evan Ward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: