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

EmpiricalDistributionTest fails if path contains spaces

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: