You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2013/03/26 16:13:15 UTC

[jira] [Resolved] (MATH-955) EmpiricalDistributionTest fails if path contains spaces

     [ https://issues.apache.org/jira/browse/MATH-955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe resolved MATH-955.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2

Fixed in subversion repository as of r1461172.

Thanks for the report and for the patch.
                
> 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
>             Fix For: 3.2
>
>         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