commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan Ward (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-955) EmpiricalDistributionTest fails if path contains spaces
Date Tue, 26 Mar 2013 12:27:15 GMT
Evan Ward created MATH-955:
------------------------------

             Summary: EmpiricalDistributionTest fails if path contains spaces
                 Key: MATH-955
                 URL: https://issues.apache.org/jira/browse/MATH-955
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.2
            Reporter: Evan Ward
            Priority: Minor
         Attachments: empiricalTest.patch

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

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